# in python $ python --version # in python3 $ python3 --version
python --version #in command line python #or by enterng interactiv mode
import sys print(sys.version)
python -V