This video explains how to install Python 3.7 should be installed on Ubuntu 18.04 LTS. Let’s get started.
First update the package repository cache with the following command:
$ sudo apt-get update
Now to install Python 3.7, run the following command:
$ sudo apt-get install python3.7
You can run the following command to verify whether Python 3.7 is working:
$ python3.7 --version
create frist program use it's Terminal.run the following command:
$ python3
Python 3 IDLE is a graphical program for writing python 3 programs and test them. It is beginner friendly. You can always start writing Python 3 code with Python 3 IDLE. It is lightweight and has nice syntax highlighting ability.
Python 3 IDLE is available in the official package repository of Ubuntu 18.04 LTS.
To install Python 3 IDLE for Python 3.6, run the following command:
$ sudo apt-get install idle-python3.7