You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 interactive Python you have to indent the bodies of compound statements yourself. (IDLE does this for you with its 'smart indent' feature.) In the future, please ask questions about exception messages (and Python in general) on python-list or elsewhere. Perhaps you should also reread the Python Tutorial.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: