How To Install Python 3 on Ubuntu 20.04

Step 1 : To see which version of Python 3 you have installed, open a command prompt and run

Step 2 : To use a more current Python, we recommend using the deadsnakes PPA to install Python 3.9

Step 3 : Enter the following command to run Update local repositories

Step 4 : Install Python 3

Step 5 : Open a terminal and verify that you can run Python 3.9 from the command line