how to update to latest version of python version installed in mac os 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