Hello Christopher,

[EMAIL PROTECTED] wrote:

 >
 > Okay, I can ask how many number are to be added:
 >
 > numbers = input("How many number do you want me to calculate? ")

you should really use raw_input to get the info from the user, and then convert it to a number. numbers=int(raw_input("How many number do you want me to calculate? "))

Does that mean input() is obsolete (after all, Zelle's book is not the freshest on the shelf)? Or do they have different uses?

Thanks,

David
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to