[Tutor] new guy problem, what's wrong with this program.

Eric Abrahamsen eric at abrahamsen.com
Mon Jan 14 05:13:28 CET 2008


> mumber = 23
> running = Ture

Both these lines have spelling errors: 'mumber' should be 'number',  
and 'Ture' should be 'True'.

You can see where the problem is coming from by the end of your  
traceback:

> NameError: name 'Ture' is not defined

A NameError with something being 'not defined' nine times of ten means  
you've spelled something wrong.

Good luck!

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080114/35f6c65a/attachment.htm 


More information about the Tutor mailing list