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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to