windows checking python version code example
Example 1: how to check python version
python --version
Example 2: how to check python version
python --version #in command line
python #or by enterng interactiv mode
Example 3: python version command
import sys
print(sys.version)