A live conversation with Python
If .py files are like writing a book, the interactive console (REPL) is a live chat with the language. It is ideal for quickly checking a snippet, using Python as a calculator, or peeking inside a library. Sometimes creating a whole file for one line is too slow. Python has interactive mode: you type a statement, press Enter, and Python responds immediately. This loop is called REPL (Read-Eval-Print Loop).