how to install python via command line on mac code example
Example 1: install python in mac
brew install python3
brew install python2
Example 2: install python 3 on mac
$ brew install python3
brew install python3
brew install python2
$ brew install python3