check version of python in code code example
Example 1: python check version
python --version
Example 2: how to check python version
python --version #in command line
python #or by enterng interactiv mode
python --version
python --version #in command line
python #or by enterng interactiv mode