Python command line mode

At the prompt, type:

python <Enter>

And you get the python prompt:

>>>

Enter single statements, e.g.:

>>> 2*3
6
>>> a = 2.5
>>> b = 3
>>> c
7.5