Course · Beginner

Programming Foundations 2026

Learn to think like a programmer and write real programs, from your first print to loops, lists, functions and classes.

Level
Beginner
Units
10 units, 63 lessons
Time
About 12 hours
Access
Unit 1 free, the rest with Pro
Practice
185 problems the judge checks
Certificate
Yes, anyone can verify it

What you will be able to do

  • Think through a problem step by step and turn it into a program
  • Use variables, numbers, text, decisions and loops with confidence
  • Work with lists, tuples, dictionaries and sets
  • Write and reuse your own functions
  • Read error messages and fix your own bugs without fear
  • Build small programs with classes and modules

Before you start: None. You do not need any earlier programming.

Syllabus

10 units, in order

  1. Unit 1Free

    Getting started

    What a program is, how Python runs it, and how to print output, write comments and read error messages.

    6 lessons · 46 min
  2. Unit 2

    Values and variables

    Store values in variables, do arithmetic, work with text and read numbers from the input.

    8 lessons · 77 min
  3. Unit 3

    Making decisions

    Let your program choose what to do with comparisons, if, elif and else, combined conditions (and, or, not) and nested decisions.

    5 lessons · 56 min
  4. Unit 4

    Loops

    Repeat work with while and for loops, and learn the loop patterns behind most beginner problems.

    8 lessons · 96 min
  5. Unit 5

    Strings in depth

    Pick out characters and pieces of text, use string methods and format your output neatly.

    6 lessons · 78 min
  6. Unit 6

    Lists and tuples

    Keep many values in one list, change it, loop over it and build new lists, then use tuples for fixed records and lists of lists for grids.

    7 lessons · 89 min
  7. Unit 7

    Dictionaries and sets

    Look values up by name with dictionaries, count things, and keep unique values in sets.

    4 lessons · 49 min
  8. Unit 8

    Functions

    Package steps into functions you can reuse, pass values in and get answers back.

    7 lessons · 85 min
  9. Unit 9

    Problem solving

    Turn a problem statement into a plan, search and sort data, and find bugs with dry runs.

    7 lessons · 92 min
  10. Unit 10

    Objects and modules

    Create your own types with classes, use Python's ready-made modules and handle errors without crashing.

    5 lessons · 69 min

How a course works

Short lessons. Real checks.

  1. Read a little

    A short explanation with an example, written for students, not for experts.

  2. Change it and run it

    Edit the example code in the lesson and run it to see what changes.

  3. Check, then solve

    A quick check, then practice problems the judge checks on hidden tests.

  4. Checkpoints and a final test

    Pass them to finish the course and get your certificate.

Programming Foundations 2026, on a real judge.