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