how to upgrade python3.5 to 3.7 in ubuntu code example
Example 1: update ubuntu to python 3.85
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
Example 2: update ubuntu to python 3.85
apt list | grep python3.8
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
apt list | grep python3.8