python check install version code example
Example 1: terminal python version
# in python
$ python --version
# in python3
$ python3 --version
Example 2: check corently installed epython version
python3 --version
# in python
$ python --version
# in python3
$ python3 --version
python3 --version