Python Foundations
48 lessons ยท 127+ exercises ยท No experience needed
~24h
Total Time
0/48
Lessons
0/~127
Exercises Solved
0
Day Streak
What You'll Build
Tip Calculator
Your first real program
Log Analyzer
Parse server logs with Python
K8s Validator
Validate Kubernetes manifests
Cloud Cost Analyzer
Analyze cloud spend
Curriculum
The Programmer's Mindset
0/6How Computers Actually Think
Stupid but fast, the honest truth about what machines do
Instructions for a Robot
Discover why being precise is the core skill of programming
Patterns in Everyday Life
You already think algorithmically, programming just makes it explicit
What Even IS a Program?
Before typing a single character, understand what you are actually building
How to Read a Problem
Before writing a single line of code, learn to dissect any problem statement
Pseudocode: Think Before You Type
Write your solution in plain English before touching Python
Your First Python
0/8Hello, World!
Write your very first Python program and understand how it works
Numbers & Math
Every program uses numbers, learn how Python thinks about arithmetic
Variables, Storing Information
Learn to store, name, and reuse values in your programs
Types & Type Conversion
Why "5" + 3 crashes Python, and how to fix it
Strings, Working with Text
Master text manipulation, the most common thing programs do
F-Strings & String Formatting
The modern way to put values inside text, used in every real Python program
Comments & Clean Code
Write code your future self will actually understand
๐ Project: Tip Calculator
Use everything you've learned to build your first real program
Making Decisions
0/5Comparison Operators
Ask yes/no questions, the foundation of all decisions in code
If / Else, Making Decisions
Teach your program to choose different paths based on conditions
Boolean Logic
Combine conditions with and, or, not, and master Python truthiness
Logical Operators
Combine conditions with and, or, not, the glue of real decisions
The Error Detective
Errors are clues, not failures, learn to read them like a pro
Loops & Repetition
0/5range(), Counting Made Easy
The function behind every for loop, master it separately first
For Loops, Doing Things Repeatedly
Stop copying and pasting, let loops do the repetitive work for you
While Loops, Loop Until Done
Use while loops when you don't know how many times to repeat
Loop Control, break, continue, pass
Take back control of your loops instead of letting them run on autopilot
Trace the Code
Read code like a computer, the skill most courses never teach
Functions
0/4Functions, Reusable Building Blocks
Break your code into small, named, reusable pieces
Functions, kwargs, *args & Defaults
Keyword arguments, default values, and accepting any number of inputs
Default Parameters & Scope
Write more flexible functions and understand where variables live
Lambda Functions
One-line anonymous functions, perfect for sort keys and quick transforms
Data Structures
0/5Lists, Ordered Collections
Store and manipulate multiple values in a single variable
Tuples, Immutable Sequences
Like lists, but fixed, coordinates, RGB values, function return values
List Comprehensions
The Pythonic one-liner that replaces a for loop, elegant and fast
String Methods
len, upper, lower, split, join, replace, the toolkit for text
Dictionaries, Key-Value Pairs
Store data that needs to be looked up by name, not position
Problem Solving
0/6Brute Force First, Always
The most important rule: solve it simply first, optimise later
How to Crack Any Coding Interview
A repeatable framework for tackling interview problems under pressure
The 6-Step Problem-Solving Framework
Understand โ Examples โ Brute Force โ Optimize โ Code โ Test
String Problems
Reversal, anagrams, character counting, patterns you'll see everywhere
List Problems
Accumulator, two-pointer, and sliding window patterns
Dictionary Problems
Counting, grouping, and lookup, the three superpowers of dicts
Real World Python
0/3Working with the Real World
0/4Reading and Writing Files
open(), read(), write(), and the with statement
JSON: The Language of APIs
json.loads(), json.dumps(), and working with nested data
Regular Expressions: Pattern Matching
re.search(), re.findall(), find anything in text
Capstone: Log File Analyzer
Build a real tool that parses server logs and produces a report