First Steps
Learn how to display text on the screen using the print() function. This is where every programmer starts their journey!
20 lessons · 77 exercises in the course · 53 open for free
Learn Python from scratch in your browser. The course has 20 lessons and 77 hands-on exercises; 53 of them are open for free — read the theory and the exercise statements without an account.
Learn how to display text on the screen using the print() function. This is where every programmer starts their journey!
Learn how to store data in variables. Variables are like labeled boxes where you can put information.
Learn basic math operations in Python: addition, subtraction, multiplication, and division.
Learn to work with text (strings) in Python.
Learn to make decisions in your code using if/else statements.
Learn to repeat actions using loops.
Learn to store multiple items in lists.
Learn to create reusable blocks of code called functions.
Learn to store data as key-value pairs using dictionaries.
Learn about tuples - immutable sequences that cannot be changed.
Learn about sets - collections of unique items with no duplicates.
Learn useful string methods for text manipulation.
Learn to create lists in one line using list comprehensions.
Learn modern string formatting with f-strings.
Theory and exercises of these lessons are part of the VIP subscription.
Master the while loop: countdowns, break, continue and accumulators — the patterns behind real programs.
Real data is nested: lists inside lists, dictionaries inside lists. Learn to walk through it with double loops.
Programs meet bad data all the time. try/except lets your code survive errors instead of crashing.
Default values, any number of arguments, tiny lambda functions and sorting with a key — write functions like a professional.
Bundle data and behaviour together: your own types with attributes and methods — the heart of modern Python.
Four capstone challenges that combine everything: loops, collections, functions, classes. Finish them — and the course is truly yours.