[Tutor] counting number of inputs

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed May 3 02:08:42 CEST 2006



On Tue, 2 May 2006, MICHELLE EVANS wrote:

> I am trying to count the number of times a positive number is entered 
> from the user.  But, the program must stop after 5 user inputs or a 
> negative number.

That seems like a really arbitrary and silly thing to do, but ok.

So... what question do you have?

Have you had a chance to go through a tutorial, like the ones listed in:

     http://wiki.python.org/moin/BeginnersGuide/NonProgrammers

If so, what kinds of programs have you done already?  Do any of them have 
any similaries to the problem you're working on now?


More information about the Tutor mailing list