2 Antworten
+ 1
If you're using IDLE it is an interactive IDE when used in its default shell mode. The window will usually say Shell at the top and you'll enter code at a prompt that looks like >>>
Try creating a module File > New File. Type your code into the file then save it File > Save and then run it Run > Run Module. This will then run the code in the shell.
+ 1
Thanks,that helped