Igorati wrote:
#This program will ask for a user to imput numbers. The numbers will then
be calculated
#to find the statistical mean, mode, and median. Finallly the user will be
asked
#if he would like to print out the answers.
>
numbers = [ ]
print 'Enter numbers to add to the list. (Enter 0 to q
Igorati said unto the world upon 2005-02-22 03:51:
#This program will ask for a user to imput numbers. The numbers will then
be calculated
#to find the statistical mean, mode, and median. Finallly the user will be
asked
#if he would like to print out the answers.
numbers = [ ]
print 'Enter numbers
#This program will ask for a user to imput numbers. The numbers will then
be calculated
#to find the statistical mean, mode, and median. Finallly the user will be
asked
#if he would like to print out the answers.
numbers = [ ]
print 'Enter numbers to add to the list. (Enter 0 to quit.)'
def getint
Thank you, that does help quit a bit. I am working on the corrections now.
To the first poster... don't know what that meant. I thought I made my
case understandable. Thank you again. I will work on that. I was
attempting to open wade_stoddard... b/c that was my file I was working
with, and I was t
Igorati wrote:
list = [ ]
a = 1
print 'Enter numbers to add to the list. (Enter 0 to quit.)'
while a != 0 :
a = input('Number? ')
list.append(a)
zero = list.index(0)
del list[zero]
list.sort()
A simpler approach is to use the second form of the builtin iter
function which takes a callab
Could you phrase this in the form of a question, like Jeopardy?
On Monday 21 February 2005 08:08 pm, Igorati wrote:
> Ok, this is what I have so far:
>
> #This program will ask for a user to imput numbers. The numbers will then
> be calculated
> #to find the statistical mean, mode, and median. Fi
Ok, this is what I have so far:
#This program will ask for a user to imput numbers. The numbers will then
be calculated
#to find the statistical mean, mode, and median. Finallly the user will be
asked
#if he would like to print out the answers.
list = [ ]
a = 1
print 'Enter numbers to add to the