For absolute beginners

Welcome to Python Basics ๐Ÿ‘‹

Python is one of the friendliest programming languages to learn โ€” clean syntax, huge community, and used everywhere from web apps to data science. This short course walks you through the essentials, one bite-sized lesson at a time.

How to use this site Read each lesson in order. Type the code examples into your own Python (don't just copy and paste!) โ€” the tiny act of typing helps your brain learn the patterns.

What you'll learn

By the end you'll be comfortable writing small Python scripts: variables, decisions, loops, lists, dictionaries, and your own reusable functions.

Why Python?

Python reads almost like English. It's the language taught in most universities, the language behind sites like Instagram and Spotify's data tooling, and the de-facto language for data science, AI, and automation. Whatever you eventually want to build โ€” a script that tidies your spreadsheets, a small web app, a game โ€” Python is a great place to start.