how to upgrade python on mac to latest version code example
Example: upgrade python version mc
brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3
brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3