Answers for "to get the Python version you are using and print it"

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 "to get the Python version you are using and print it"

Python Answers by Framework

Browse Popular Code Answers by Language