<filename>Python_basic_1/ex2.py
'''
2. Write a Python program to get the Python version you are using.
'''
import sys

print("In this system, the version of Python installed is:\n{}\n\tOr, more detailed info:\n\t{}".format(sys.version,sys.version_info))
<filename>Python_basic_1/ex2.py
'''
2. Write a Python program to get the Python version you are using.
'''
import sys

print("In this system, the version of Python installed is:\n{}\n\tOr, more detailed info:\n\t{}".format(sys.version,sys.version_info))
2. Write a Python program to get the Python version you are using.