That should have been your only question. And please search these types of things online.
Interactive mode is typing out code 1 line at a time and getting feedback automatically. You dont type your code and then run, you run the code as you type it.
A widely used way to run Python code is through an interactive session. To start a Python interactive session, just open a command-line or terminal and then type in python , or python3 depending on your Python installation, and then hit Enter