Re: NameError: name 'guess' is not defined

2008-03-22 Thread Dan Bishop
> elif guess < number: > > print 'No, it is a little higher than that.' > > else: > > print 'No, it is a little lower than that.' > > else: > > print 'The while loop is over.' > > # Do anything else you want to do here > >

Re: NameError: name 'guess' is not defined

2008-03-22 Thread Gary Herron
.' > else: > print 'The while loop is over.' > # Do anything else you want to do here > > print 'Done' > > After typing the above as the book says, I get the error NameError: > name 'guess' is not defined > What Am I doing wrong? >

Re: NameError: name 'guess' is not defined

2008-03-22 Thread Diez B. Roggisch
hat.' > else: > print 'The while loop is over.' > # Do anything else you want to do here > > print 'Done' > > After typing the above as the book says, I get the error NameError: > name 'guess' is not defined > What Am I doing wrong? Yo

NameError: name 'guess' is not defined

2008-03-22 Thread willkab6
do here print 'Done' After typing the above as the book says, I get the error NameError: name 'guess' is not defined What Am I doing wrong? -- http://mail.python.org/mailman/listinfo/python-list