version of python on mac code example
Example 1: check python version mac
# To check python 3 version type in the terimnal:
python3 --version
# To check python 2 version just type:
python --version
# If any errors come up then that means python isn't installed on your
# system.
Example 2: which python mac
$ brew update && brew upgrade python