Py
Python
Pick a topic to practice.
Printing
Print text and numbers, f-strings, sep and end
User Input
Read a line with input() and turn it into a number
If Statements
if, elif, else and the comparisons that drive them
Loops
while and for loops: count, repeat, accumulate
Functions
def, parameters, return and typed signatures
Lists
Indexing, slicing, sum, len, min, max and 2D lists
Strings
Quotes, f-strings, indexing, slicing and character loops
Dictionaries
Records as dicts: keys, values and nested lookups
Menus & Validation
Text menus that loop, validate input and print tables
Classes
Classes, __init__, methods and inheritance
Recursion
Base cases, recursive cases, memoised Fibonacci
Files
Write a file, read it back: text, CSV and JSON
Data Structures & Algorithms
Searches, stacks, queues, trees and classic strategies
Code Walkthrough
Guess the output — practice code tracing
Multiple Choice Quiz
Test your knowledge with multiple choice questions