Python is a high-level programming language that is easy to learn and use. It was created by Guido van Rossum in 1991. Python is popular because its commands are simple and easy to read.
Follow these steps:
After installing Python, open the program called IDLE. IDLE is the place where we write and run Python programs.
This command displays:
| Component | Purpose |
|---|---|
| Title Bar | Shows the program name. |
| Menu Bar | Contains File, Edit, Run, Help, etc. |
| Shell Window | Where Python commands are typed. |
| Prompt (>>>) | Indicates Python is ready to accept commands. |
| Output Area | Displays the result of commands. |
Interactive Mode lets us type one command at a time and immediately see the result.
Open Python IDLE and type the following commands: