[Tutor] Simple User Entry Verification
Ian Egland
echolynx at gmail.com
Sat Mar 14 22:49:52 CET 2009
Newbie here who can't figure out why this doesn't work:
start = input("Please enter the starting number.\n>")
print(type(start))
while type(start)!=float:
start = input("Sorry, that number was invalid.\nPlease enter the
starting number.\n>")
print(type(start))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090314/e612d17e/attachment.htm>
More information about the Tutor
mailing list