python version terminal windows code example
Example 1: terminal python version
# in python
$ python --version
# in python3
$ python3 --version
Example 2: how to check python version on terminal
python3 --version # This is to check the python 3 version on mac terminal