Never written a line of code? Start at the very beginning. Eighteen lessons take you from "what even is a program?" to reading, writing, testing, and debugging small Python programs. One practice lab helps you check an AI code suggestion using what you have learned. Every new term is explained along the way.
# Your very first program. name = "world" print("hello, " + name + "!") # → hello, world!
The computer does exactly what you say, in order, one step at a time. Nothing is magic — coding is learning to spell out steps precisely enough for a machine to follow.
Practice with 17 runnable challenges: write Python in the page, test it, and explain what happened. Passing each page's quiz enables its Next button. The AI lab uses curated examples; no AI account or live AI tool is needed.
Follow two parts and seven groups in order, at your own pace. After Functions, spend about 30–40 minutes checking an AI suggestion before continuing to Lists. Later lessons cover local Python setup, Git, and a capstone project.
Start with a small program and take time to understand each line. Browser practice is free and needs no installation or account. Lessons 16 and 17 introduce local Python and Git setup; publishing to GitHub is optional and needs an account.