Begginers Guide - Exrcise. Help me, plz!

Jeffrey-man i-have at no.mail
Sun Mar 17 03:31:09 EST 2002


Thank you very much!
Here it is the final version:

 -----

from time import sleep

sum = 0
sum_stop = 100
while sum < 100:
 num = input("Please enter the number: ")
 sum = sum+num
 if sum < 100:
  print "The sum is", sum
 else:
  print "The sum is > 100 and it is", sum
 print
sleep(10)

 -----

Best regards.





More information about the Python-list mailing list