what python version am i using code example
Example 1: python version
python ––version
Example 2: get python version in code
import platform
print(platform.python_version())
python ––version
import platform
print(platform.python_version())