Complete for freeBeginner

Course 3

Beginner Python

You'll install Thonny, a free Python editor that comes with Python built in, and use its Variables panel and step-by-step debugger to see exactly what your code does. Each module teaches one idea in a Notes lesson, uses it to build one complete program (a text-adventure status tracker, a club sign-up slip that cleans up messy typing, a bike-share fare calculator, a mental math game, a race pace calculator, and a virtual pet), then sets fresh practice problems with hints and worked solutions. Every code example on the page has been run, so the output and error messages you see are the real ones. The course ends with a capstone: a text-based app you plan, build in milestones, and test yourself.

Free completion promise: Every lesson uses Thonny and Python, which are both free, and needs no account or paid service. If a school-managed Chromebook can't install apps, the early modules can be followed in the free Python Tutor site in a browser.

What's inside

  • 24hand-written lessons
  • 18videos
  • 19step-through animations
  • 15diagrams, charts & live previews
  • 53quiz questions
  • 193code examples

Before you begin

Requirements & setup for Beginner Python

Start with the complete free pathway below. Hardware, subscriptions, paid APIs, and cloud credits are never required.

Start here · free path

Your complete $0 setup

Every lesson uses Thonny and Python, which are both free, and needs no account or paid service. If a school-managed Chromebook can't install apps, the early modules can be followed in the free Python Tutor site in a browser.

$0 required

Setup checklist

0 of 6 complete

This checklist is a temporary setup aid and resets when the page reloads. Saved course progress begins in the setup lessons below.

  1. Everything required for this course is free. Paid software, APIs, cloud credits, GPUs, and physical equipment are optional.

    About 2 min
  2. Go to thonny.org and download the installer for your computer (Windows, or Apple silicon or Intel Mac). On a Chromebook, turn on Linux in Settings › About ChromeOS › Developers, then run sudo apt install thonny in the Terminal.

  3. Run the installer and keep the suggested settings. On Windows, no administrator password is needed.

    About 5 min
  4. Open Thonny, leave Initial settings on Standard, and click Let's go!

    About 5 min
  5. In the Shell at the bottom, type 2 ** 100 and press Enter.

    About 5 min
  6. Thonny (free Python editor): The Shell prints 1267650600228229401496703205376, and a saved four-line program runs with its output shown under %Run in the Shell.

    About 5 min

Software

1 item

Thonny (free Python editor)

Thonny is a free, open-source Python editor made for beginners at the University of Tartu. Its installer includes Python, so there is only one thing to install, and its Variables panel and step-by-step debugger let you watch a program change its values one line at a time.

Course need
Thonny (free Python editor)
Free

Thonny is a free, open-source Python editor made for beginners at the University of Tartu. Its installer includes Python, so there is only one thing to install, and its Variables panel and step-by-step debugger let you watch a program change its values one line at a time. Every lesson is readable text with copyable code, keyboard-friendly quizzes and step-throughs, and videos with YouTube captions.

  1. Go to thonny.org and download the installer for your computer (Windows, or Apple silicon or Intel Mac). On a Chromebook, turn on Linux in Settings › About ChromeOS › Developers, then run sudo apt install thonny in the Terminal.
  2. Run the installer and keep the suggested settings. On Windows, no administrator password is needed.
  3. Open Thonny, leave Initial settings on Standard, and click Let's go!
  4. In the Shell at the bottom, type 2 ** 100 and press Enter.

Hardware

Nothing required

No physical hardware is needed for this course.

Accounts

Nothing required

No external account is needed for this course.

What you will be able to do

Learning outcomes

  • Write, save, run, and step through Python programs in Thonny, and read an error message from the bottom up.
  • Store and update values in variables, and tell strings, integers, floats, and Booleans apart.
  • Read what people type with input(), clean it with string methods, convert it with int() and float(), and format output with f-strings.
  • Make programs choose with if, elif, and else, combine conditions with and, or, and not, and check decisions with boundary tests.
  • Repeat work with loops and organize code into functions that take parameters and return values.
  • Plan, build, test, and present a complete text-based Python app.

Build real work

Assignments & capstone

Free tools accepted

Quiz with a results slip

Write a Python quiz in Thonny that asks several questions in a loop, cleans up and converts what the player types, rejects answers that aren't numbers, lets them skip or quit, and prints an aligned score summary with f-strings.

Every lesson uses Thonny and Python, which are both free, and needs no account or paid service. If a school-managed Chromebook can't install apps, the early modules can be followed in the free Python Tutor site in a browser. Submit your project file, or screenshots with descriptions, or a short demo.

Fare calculator built from functions

Turn a page of pricing rules into a Python program in Thonny built from small functions, using if/elif/else and one validation function for every question, then check each rule with boundary tests at its cutoffs.

Every lesson uses Thonny and Python, which are both free, and needs no account or paid service. If a school-managed Chromebook can't install apps, the early modules can be followed in the free Python Tutor site in a browser. Submit your project file, or screenshots with descriptions, or a short demo.

Final assessment

Text app of your own

Build a complete text-based Python app, such as a flashcard trainer, word game, budget tracker, or text adventure, that a stranger can use without help and that meets all eight requirements, from validation to a clean exit. Deliverables: Python file that no input can crash, Test table with 12+ rows of normal, edge, and nasty input, Automatic checks for your functions, README explaining how to use the app, and Two-minute demo.

Prerequisites & pacing

Skills assumed

  • No programming experience needed
  • A Windows 10 or 11 PC, a Mac with macOS 10.15 or newer, or a Chromebook that allows Linux apps

Recommended prior courses

These are advisory, not locks. If you already have the skills listed above, enroll directly.

Choose your pace

  • self paced: 8 weeks at 4 hours per week
  • weekly: 8 weeks at 4 hours per week

Part of these learning paths

  • 🧭 Coding Foundations · step 3 of 5

    Start from zero and finish able to design, write, and debug real programs.

  • 🎮 Game Development · step 2 of 3

    Build the programming foundation a game engine assumes, then design and publish a complete game.

Course created by Zafir Shamsi.