brew install python
This command will download and install Python on your system. After the installation is complete, you can verify the installation by running the following command:
python --version
This command will display the version of Python installed on your system.