check python version check code example
Example 1: check python version
# To check Python version
python -V
----or----
python --version
Example 2: how to check python version
python --version #in command line
python #or by enterng interactiv mode