what to type in cmd to see what python version you have code example
Example 1: how to find python version
python --version
Example 2: python version command
import sys
print(sys.version)
python --version
import sys
print(sys.version)