What Python Version Do I Have?

You can determine the version of Python you have by running the following command in your terminal or command prompt:

python --version

If you have multiple versions of Python installed on your system, you may need to run python3 instead of just python to get the version of Python 3.

You can also determine the version of Python from within the Python interpreter by running the following commands:

import sys


This will print the version of Python, as well as some additional information about your Python installation.