Answers for "how to print the python version"

5

python print version

import sys
print(sys.version)
Posted by: Guest on April-15-2020
2

python show current version

import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)
Posted by: Guest on April-07-2021

Code answers related to "how to print the python version"

Python Answers by Framework

Browse Popular Code Answers by Language