Write a Python program to get the Python version you are using

Write a Python program to get the Python version you are using

import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)

Result

 

Write a Python program to get the Python version you are using
Write a Python program to get the Python version you are using

 

 

 

 

 

 

 

Leave a Comment