New submission from Amit Amely <amit.am...@gmail.com>:
This is the tutorial text: >>> prefix = 'Py' >>> prefix 'thon' # can't concatenate a variable and a string literal ... SyntaxError: invalid syntax >>> ('un' * 3) 'ium' ... SyntaxError: invalid syntax This is the actual result: >>> prefix = 'Py' >>> prefix 'thon' # can't concatenate a variable and a string literal File "<stdin>", line 1 prefix 'thon' # can't concatenate a variable and a string literal ^ SyntaxError: invalid syntax ---------- assignee: docs@python components: Documentation messages: 335905 nosy: Amit Amely, docs@python priority: normal severity: normal status: open title: Wrong output in tutorial (3.1.2. Strings) versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36032> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com