Write real Python in your browser: variables, strings, conditionals, loops, lists, and functions.
Python reads more like English than almost any other language, which is why so many people start here. This course starts earlier than that: at the very first line of code you will ever run, with nothing installed and nothing to set up. Real Python 3.13 runs in the browser tab, and the first thing you type will print something. You will learn to put a value on the screen, hold values in names, do arithmetic that gives whole answers, pull sentences apart and build new ones, make a program choose between two answers, repeat work without repeating yourself, keep many values in one list, and wrap a job into a function you can call again. Every one of those is small on its own. Together they are the whole of what a program does. Everything is built on Trailhead, a console companion for a small hiking area that grows as you do: a welcome board, then trail facts, then a walking-time calculator, then a difficulty verdict, then an elevation profile, then a full trail list, and finally a kiosk that asks a visitor questions and answers them without falling over. The next course, Python Data Structures, picks up the moment you outgrow the list.
45 Lessons • 53 Practices • 18 Quizzes • 4 Projects · ~10h Total
Not just theory. You finish this course with real work to show.
This is the same in-browser editor every lesson uses. Edit the code, hit Run.
Run code in the browser and see the result immediately. Every lesson works this way.
Stuck? Puff explains the error and nudges you forward, without giving the answer away.
Streaks, diamonds, and certificates. Your progress saves automatically, forever.
Every completed course issues a certificate with a public verification link.
Every certificate has a public verification link employers can check.
One certificate per course. Finish a program and earn its program certificate too.
LinkedIn-ready, with a PDF you can download and attach.
You have never written a line of code. This starts before the beginning: the first practice changes words, not syntax.
You are starting the Python Developer program at its front door, and everything after this course assumes this one.
You learned by copying and adapting. This puts the fundamentals underneath what already works for you.
Python Basics is free to start, no credit card needed. Some later sections are part of Pro, and finishing every section, including the certificate, needs a Pro plan.
No. Python Basics assumes nothing at all: no other language, no terminal, and no vocabulary. The first lesson runs one line of code and explains every part of it.
No. Devpuff runs real CPython 3.13 inside the browser tab, compiled to WebAssembly, so there is nothing to download, no version to pick, and nothing to configure. The first run of a session spends a few seconds fetching the language itself, and every run after that is instant.
How this course connects to the bigger picture, and what to explore next.
Free to start, no credit card required. Write real code from the first lesson and keep your progress forever.
Start Learning FreeA browser tab has no keyboard console for a program to read from, so items that ask a question ship a short block at the top of the editor that supplies the answers instead. Everything below that block is ordinary Python, and `input()` is written exactly as it would be anywhere else. Devpuff explains this in a lesson rather than hiding it.
Programs that read values, make decisions, repeat work, and report results: calculators, converters, text tools, and small console utilities. The course closes on one you build yourself, a kiosk that asks a visitor questions and answers them.
About 10 hours across 120 items, which most learners spread over two to four weeks. Items are designed to take about five minutes each, so progress does not need a free evening.
Yes, for this course at 100 percent. It also counts towards the Python Developer program certificate, which issues once every course in that program is complete.
Model real data with Python lists, tuples, dictionaries, sets, and comprehensions.