How to switch to Python 3 in terminal Linux code example
Example 1: set python 3 as default ubuntu
sudo update-alternatives --config python
Example 2: transition from python 2 to 3 terminal
alias python="python3"
sudo update-alternatives --config python
alias python="python3"