You can use Python in two different ways:
In “calculator” or “conversational
mode”, Python will prompt you for input with
three greater-than signs (>>>).
Type a line and Python will print the result.
Here's an example:
>>> 2+2 4 >>> 1.0 / 7.0 0.14285714285714285
You can also use Python to write a program, sometimes called a script.