Re: NOOB coding help....

2005-02-22 Thread bruno modulix
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

Re: NOOB coding help....

2005-02-22 Thread Brian van den Broek
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

Re: NOOB coding help....

2005-02-22 Thread Igorati
#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

Re: NOOB coding help....

2005-02-22 Thread Igorati
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

Re: NOOB coding help....

2005-02-21 Thread Steven Bethard
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

Re: NOOB coding help....

2005-02-21 Thread James Stroud
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

NOOB coding help....

2005-02-21 Thread Igorati
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