Run Python Command Interactively

In interactive mode you can type the Python commands directly
at the Python prompt.

>>>

Launch the Python interpreter

/> python

Type the following command at the prompt:

>>> print(“Hello, World”)