vheck version python code example
Example 1: terminal python version
# in python
$ python --version
# in python3
$ python3 --version
Example 2: how to find python version
python --version
# in python
$ python --version
# in python3
$ python3 --version
python --version