break the loop in one object and then return
Petr Jakes
petr at tpc.cz
Mon Jun 26 16:41:35 EDT 2006
It smells like many student are trying to do their homework last few
days here ... Can we now the name of your school? :)
AFAIK this group does not solve homeworks here :)
Just few points:
at the beginning try to test the input value
you can use "in range" or using "0 < yournum < 101"
you should test if the input is an integer as well..
http://tinyurl.com/j468c
Other suggested here which way to go.
Good luck :)
Petr Jakes
More information about the Python-list
mailing list