At the end of the day, computers only understand ones and zeros (a.k.a. binary). At some point, any program you run must be converted into binary. However, writing programs in binary is a real drag, so instead we write them in various programming languages. Then we use another program that automatically converts the stuff we type into binary. For Python, this converter program is called the Python interpreter. You must download and install it:
sudo apt-get install python3in the terminal.
On Windows, make sure you check the box that says “Add Python 3.6 to PATH”:
Once you have it installed, open the command line interface and type
--version. If you’re
on Linux and it doesn’t work, try
python3 --version. You should get something
$ python --version Python 3.5.2
If you are on Windows and you didn’t check “Add Python 3.6 to PATH”,
python command won’t be available. Instead you could type
--version, or you could reinstall Python and make sure to check the
box this time.
$ is my prompt. It’s the equivalent of
on Windows. You can ignore it; you don’t need to type it.