PythonVersionTest
import sys
print(f"You are using Python {sys.version_info.major}.{sys.version_info.minor}.")
# Output: You are using Python 3.8.
"""
Shell command:
python --version
Python 3.8.12
"""
INFO
import sys
print(f"You are using Python {sys.version_info.major}.{sys.version_info.minor}.")
# Output: You are using Python 3.8.
"""
Shell command:
python --version
Python 3.8.12
"""