Running 'python' in the terminal used to start Python 2, the older version which is now outdated.
Python 3 was introduced with changes that weren't fully compatible with Python 2, leading to separate installation commands, 'python' for Python 2 and 'python3' for Python 3.
Due to Python 2 being discontinued, many modern systems only install Python 3 by default, but don't set up 'python' as a shortcut.
To make 'python' run Python 3, you can create an alias in the shell configuration file as 'alias python=python3'.