How to Check Python Version

To check the Python version, type the following command and press Enter:

python --version