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

John Fouhy john at fouhy.net
Mon Jan 14 05:15:16 CET 2008


On 14/01/2008, bill.wu <bill.wws at gmail.com> wrote:
> mumber = 23
> running = Ture
[...]
> when i run it, interactive window show:
>
> Traceback (most recent call last):
[...]
> NameError: name 'Ture' is not defined

Hi Bill,

The error message means that python doesn't know what "Ture" is.  In
this case, I suspect you have misspelt "True".  Programming languages
are quite picky about correct spelling!

-- 
John.


More information about the Tutor mailing list