Terry J. Reedy added the comment:
In the Debian screenshot with the traceback, you run interactive Python, not
IDLE, in the system terminal, with the command-line entry 'python'. Notice the
secondary ... prompt.
The bug in the code you entered is indicated by the error message. In
interac
New submission from Audric :
Hello,
The screenshot attached is a clear repro.
Environment:
Surface Pro 3 Win 10 1803 Python 2.7.14
WSL Debian 9.6 with Python 2.7.13
Code:
>>elements = []
>>for i in range(0, 6):
>>...elements.append(i)
---
Working:
>>print element