This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients Vishal Devgn, steven.daprano
Date 2017-06-25.11:26:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498389980.64.0.935504519597.issue30753@psf.upfronthosting.co.za>
In-reply-to
Content
This is a bug in your code, not Python, and the error tells you how to fix it. You have to indent the block.

>>> while b < 1000:
...     print(b, end=',')
...     a, b = b, a+b

Remember to press TAB or spacebar inside indented blocks.

You should work through the tutorial.

https://docs.python.org/3/tutorial/index.html

By the way, you say page 16 of which documentation? Are you reading from a book? Which book?
History
Date User Action Args
2017-06-25 11:26:20steven.dapranosetrecipients: + steven.daprano, Vishal Devgn
2017-06-25 11:26:20steven.dapranosetmessageid: <1498389980.64.0.935504519597.issue30753@psf.upfronthosting.co.za>
2017-06-25 11:26:20steven.dapranolinkissue30753 messages
2017-06-25 11:26:20steven.dapranocreate