how to print the version number in python code example Example: python print version import sys print(sys.version)