how to switch python version code example
Example 1: command to upgrade python version
python -m pip install pip
#or
python -m pip install –upgrade pip
python -m pip install --upgrade pip
Example 2: downgrade python version windows
Uninstall your current version and install the version needed from https://www.python.org/downloads/
Example 3: transition from python 2 to 3 terminal
alias python="python3"