how to install python with the command line in macos 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