"""Check what version of python is running. Written by: Michael Newman Last Updated: 2008-12-21""" def version(): """Give the current python version.""" import sys return sys.version if __name__ == '__main__': print(version())