mac os installer python 3 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