apt install -y python3 code example
Example 1: linux ubuntu install python 3.7
sudo apt-get install python3.7
Example 2: install python on ubuntu
sudo apt install python3.8
sudo apt-get install python3.7
sudo apt install python3.8