"Dragos Ionescu" <[EMAIL PROTECTED]> wrote
David try this:

score = input("What is your exam score: (0-100)? ")

No, please don't! input has several security issues, it is much better to use raw_input but convert the result to the type you need:

score = int(raw_input("What is your exam score: (0-100)? "))


--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld

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

Reply via email to