get the current version of python in command line code example
Example 1: how to find the version of python command linw
python --version
Example 2: python version command
import sys
print(sys.version)
python --version
import sys
print(sys.version)