From now, I will talk only about python 3. The installation will concern Ubuntu 18.04 and Windows 10
Windows 10: from the home
page of the official website of the language, hover over the Downloads tab
in the menu, and click on Windows. You can choose between stable,
latest or pre-released releases. For the stable one, you can download
the installer directly from that page, and install the language.
Ubuntu 18.04: pyhton3 is already installed with this version. However here are the commands to install and update the language:
For installation:
sudo apt update
sudo apt install python3
For update:
sudo apt upgrade python3
For Ubuntu installations you can see the videos in the corresponding
channel page.