[Tutor] Simple User Entry Verification
Ian Egland
echolynx at gmail.com
Sun Mar 15 02:21:09 CET 2009
I'm sorry I wasn't more specifc. I will try to next time. Thanks Alan for
you help. (Both of you.)
-Ian
On Sat, Mar 14, 2009 at 9:13 PM, R. Alan Monroe <amonroe at columbus.rr.com>wrote:
> > Success (as in number is entered) = Success
> > Failure (as in a letter is entered) = failure
>
> Working as designed :) Python is _supposed_ to throw an exception when
> trying to convert text to float. Have you learnt about try/except
> statements yet? If not, that's your next stop.
>
> Alan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090314/ba072774/attachment.htm>
More information about the Tutor
mailing list