2.1 Programming basics and setting up Python
**Python** is a popular, easy-to-learn language used for web development, data analysis, artificial intelligence and more. Its simple, readable syntax lets beginners focus on programming ideas.
## Programming basics
**Computer programming** is creating a set of instructions that tells a computer how to do a task. Basic steps:
1. **Write code** in a programming language.
2. **Compile / interpret** – translate it into a form the computer understands.
3. **Execute** – run the code.
4. **Output** – show the results.
## Development environment
Download Python from python.org and choose an IDE (e.g. IDLE, PyCharm, VS Code) or an online service.
> While installing, tick **"Add Python to PATH"** so Python can be run easily from the command line.