how to upgrade to python 3 ubuntu code example
Example 1: update python ubuntu
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
Example 2: update ubuntu to python 3.85
apt-get update
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
apt-get update