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, make sure to check “Add Python to PATH”
Complete the installation
Open IDLE from the Start menu, Applications folder, or launcher
If IDLE is not installed, reinstall Python and ensure the IDLE option is selected
On Linux, install Python using your package manager if IDLE is not included
On macOS, install Python from python.org or use a package manager that includes IDLE
