Loading...
Loading...
Coding
Learn Python through 40 progressive lessons from first steps to reusable programs, structured data, robust error handling, and efficient algorithms. Each lesson includes examples, practice questions, and a runnable coding task.
Build reliable foundations with values, decisions, collections, loops, and functions.
Read a simple program and work out what it displays.
15 min
Store a value in a variable and use it in a message.
8 min
Use numbers and variables to solve a small everyday problem.
8 min
Combine text and values in a readable message.
10 min
Clean up text, change its case, and count characters.
10 min
Convert numeric text before doing arithmetic.
10 min
Use comparisons to ask questions with true-or-false answers.
10 min
Choose between two actions with if and else.
10 min
Handle several cases with if, elif, and else.
10 min
Use and, or, and not to combine simple checks.
10 min
Keep several values in a list and access them by position.
10 min
Add, replace, and remove items in a list.
10 min
Use a for loop to process each list item.
10 min
Repeat an action using a sequence of integers.
10 min
Accumulate a running total while processing a list.
10 min
Repeat a block while a condition stays true.
10 min
Store related values under meaningful keys.
10 min
Define a function and pass a value to it.
12 min
Return a function result and use it in another calculation.
12 min
Combine a function, a list, a loop, and a condition in one small program.
12 min