How to check which version of Python is installed?

import sys
print(sys.version)

01

stackoverflow.com/a/1093331

Another way:

python -V

02