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 Erwin Berkouwer
Recipients Erwin Berkouwer, docs@python
Date 2016-03-20.12:38:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458477536.83.0.48504738422.issue26594@psf.upfronthosting.co.za>
In-reply-to
Content
being totally new to Python, I tried actually doing the examples from the beginners guide (real RTFM ;-)

however I fail at the first example, with an error message that I don't understand. please clarify. attached file is screenprint from documentation, below what's on my screen (note I keyed in the example, no copy/paste, but I think correctly)

Also adding spaces or a tab doesn't get rid of the error.


C:\Users\erwin>python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> the_world_is_flat = True
>>> if the_world_is_flat:
... print("be careful not to fall off!")
  File "<stdin>", line 2
    print("be careful not to fall off!")
        ^
IndentationError: expected an indented block
History
Date User Action Args
2016-03-20 12:38:56Erwin Berkouwersetrecipients: + Erwin Berkouwer, docs@python
2016-03-20 12:38:56Erwin Berkouwersetmessageid: <1458477536.83.0.48504738422.issue26594@psf.upfronthosting.co.za>
2016-03-20 12:38:56Erwin Berkouwerlinkissue26594 messages
2016-03-20 12:38:56Erwin Berkouwercreate