check the version of python in cmd code example
Example 1: how to find the version of python command linw
python --version
Example 2: check python version
# To check Python version
python -V
----or----
python --version
python --version
# To check Python version
python -V
----or----
python --version