how to upgrade and install python 3 on mac 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