Build with Python · free beginner course

Learn Python by building things you can see.

Free beginner Python course in your browser: draw on a canvas, make programs react to clicks, work with text and data, and build a Tic-Tac-Toe game.

6 modules · about 7.5 hoursFree

Your Learning Path

Each module builds on the last. Open any published lesson or lab and continue at your own pace.

1

Draw with PythonMake a robot, repeat a pattern, and respond to a click

Your first Python programs make pictures on a canvas. Learn calls, values, variables, and a loop before adding one click handler.

You build: A robot, a row of circles, and click-to-draw painting

  • function calls
  • variables
  • loops
  • click events
Free45 min
2

Make It SmartUse decisions and loops to make a picture respond

Choose a signal color, build an alternating pattern, and make a clickable target game using Python conditions and repetition.

You build: A signal light, an alternating pattern, and a clickable target game

  • if / elif / else
  • comparisons
  • for and range
Free55 min
3

Organize Your CodeTeach Python your own reusable instructions

Use parameters, return values, and function composition to build flowers, name badges, and a flower garden.

You build: A reusable flower, name badges, and a flower garden

  • functions
  • parameters
  • return values
Free60 min
4

Words as DataInspect, transform, count, and search text

Explore string positions, build a text analyzer, and solve a first-unique-character problem with dictionaries.

You build: A letter chart, a text analyzer, and a first-unique-letter finder

  • strings
  • indexing
  • dictionaries
Free85 min
5

Build Tic-Tac-ToeTurn a list into a playable game

Draw a board, validate turns, and finish a click-to-play Tic-Tac-Toe game with winner detection.

You build: A playable Tic-Tac-Toe game with winner detection

  • lists
  • mutation
  • validation
  • game state
Free110 min
6

Pythonic Data WorkWatch values filter, pair, sort, and share state

Use comprehensions, zip, enumerate, sorting, and reference-safe list construction while an execution microscope exposes every invisible state change.

You build: A visual leaderboard, a data pipeline, and a fix for shared rows

  • comprehensions
  • zip and enumerate
  • sorting
  • shared references
Free95 min

Who this course helps

  • First-time programmers who want a visual start instead of a syntax-first tutorial
  • Learners who tried Python before and found console exercises hard to stick with
  • Anyone who wants to start now, without installing Python or creating an account

A playable Tic-Tac-Toe game and a set of visual programs you wrote

  • Write Python with variables, loops, conditions and functions
  • Build a playable Tic-Tac-Toe game
  • Transform and chart data with Pythonic tools

Every exercise draws what your Python does, so a change in the code is a change on the canvas, and checks tell you when it works.

About This Course

Write Python in your browser and see what your program makes. Every module is a set of exercises that run on the page: you change the code, press Run, and the picture changes. Checks tell you when an exercise works, hints are there when you are stuck, and visual traces show what Python did step by step.

The six free modules start with drawing and decisions, build reusable functions and word charts, reach a playable Tic-Tac-Toe game, and close with the Pythonic tools (comprehensions, zip, enumerate, sorting) that real Python code is written in. No account, installation or local setup is needed; your code stays in your browser.

More modules are on the way: Snake, generators, and interview algorithms you can step through.

Prerequisites

  • No programming experience required

What You Will Learn

  • Use variables, functions, conditions, loops, lists, dictionaries, and comprehensions in Python
  • Build a playable Tic-Tac-Toe game that responds to clicks and validates moves
  • Transform data into visual charts and test functions with varied inputs

Build with Python: frequently asked questions

Do I need to install Python?

No. Every exercise runs in your browser, so there is nothing to install and no account to create. Your code stays on your device.

Is it real Python?

Yes. The exercises run standard Python (CPython, compiled to WebAssembly by Pyodide) in your browser, so the language you learn is the same Python you would install on your own computer.

Is Build with Python free?

Yes. All six modules listed on this page are free, with no account or payment.

Do I need any programming experience?

No. Module 1 starts with your first function call and draws the result on a canvas. Each module builds on the one before.

How long does the course take?

About 7.5 hours in total: six modules of 45 to 110 minutes each. Work at your own pace and stop whenever you like.

What will I build?

A robot drawing and click-to-draw painting, a clickable target game, a flower garden, a text analyzer, a playable Tic-Tac-Toe game, and a visual data leaderboard.

How is this different from other beginner Python courses?

Most beginner courses print text to a console. Here every exercise draws what your code does: change a number, press Run, and the picture changes. Checks tell you when an exercise works, and visual traces show state changing step by step, including cases that confuse beginners, such as two names sharing one list.

Module 1: Draw with Python

Make a robot, repeat a pattern, and respond to a click. About 45 minutes. No installation. No account. Your code runs in your browser.

Start module 1
Course interest

Help shape what we build next

Tell us what you want to learn. This records your interest; it does not enroll you or promise a launch email.

We use your address to identify duplicate responses and your note to decide what to build next.