Go to the official Python website: https://www.python.org/downloads/
Download the latest Python installer for your operating system
Run the installer
On Windows, check “Add Python to PATH”
Click “Install Now” or choose a custom installation if needed
Wait for the installation to finish
Open a terminal or command prompt
Verify the installation with `python –version` or `python3 –version`
Verify pip with `pip –version`
Install a code editor if needed, such as VS Code
Create and use a virtual environment if needed with `python -m venv venv`
