Windows Idle Python – two confusing screens
Using the two screens in python idle for windows and ubuntu
When using the Python Idle editor and run environment, users are sometimes confused with two completely separate windows, or get one window which interprets Python but does not allow them to save their work.
Python Shell Window
The primary Python screen is the Python shell. If that is your only window, you should select File->New Window.
This window is a seperate editor task. This is where you edit entire programs.
For short little things, you can execute them in the shell. Try these and see if you get the same output.
0 1 -1