see python version terminal code example
Example 1: how to find the version of python command linw
python --version
Example 2: how to check python version on terminal
python3 --version # This is to check the python 3 version on mac terminal
python --version
python3 --version # This is to check the python 3 version on mac terminal