how to figure out what version of python i have code example
Example 1: terminal python version
# in python
$ python --version
# in python3
$ python3 --version
Example 2: how to check python version
python --version
Example 3: how to check python version
python --version #in command line
python #or by enterng interactiv mode