New submission from Erwin Berkouwer: 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 ---------- assignee: docs@python components: Documentation files: IndentationError.jpg messages: 262072 nosy: Erwin Berkouwer, docs@python priority: normal severity: normal status: open title: Tutorial example IndentationError? versions: Python 3.5 Added file: http://bugs.python.org/file42223/IndentationError.jpg _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26594> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com