upgrade ubuntu python to 3.9 code example
Example 1: update ubuntu to python 3.85
sudo apt-get install python3.8
Example 2: upgrade python to 3.9 i linux
$ sudo apt install python3.9
sudo apt-get install python3.8
$ sudo apt install python3.9