> 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
>
>
.'
> 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?
>
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
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