ubuntu update python 2.7 to 3.8 code example
Example 1: update ubuntu to python 3.85
sudo update-alternatives --config python3
Example 2: update ubuntu to python 3.85
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo update-alternatives --config python3
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update