update version of python code example
Example 1: upgrade python version mc
brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3
Example 2: command to upgrade python version
python -m pip install pip
python -m pip install –upgrade pip
python -m pip install --upgrade pip
Example 3: download python
Step 1: Download Python newest version from
https://www.python.org/downloads/
Step 2:Install Python
Step 3:Download Pycharm Community free version
Step 4:Install and open Pycharm
Step 5:Write print("Hello New World")
//Hurray you are about to start python
Example 4: pip change python version
pip upgrade -pip