// blog

Articles

// Control Flow
Not just values — conditions too

The problem...
You know how to match exact values. But sometimes a value alone isn't enough.
You need to match a range. A condition. Not just "is it this?" — but "is it th…

04 May 2026 2 min read files [1] comments [0] 20 views
// Control Flow
MATCH Mini Project — Vending Machine.

The problem...
A vending machine has one job. You pick a product. You insert money. It tells you the price, confirms the purchase, and gives you your change.
Simple logic. Multi…

04 May 2026 1 min read files [1] comments [0] 22 views
// Control Flow
Common MATCH/CASE Mistakes

The problem...
Your match block runs the wrong case. Or no case at all. Or it crashes on Python 3.9.
These are the mistakes almost every beginner makes with match / case. At lea…

04 May 2026 2 min read files [1] comments [0] 23 views
// Control Flow
match / case — The Full Picture

The idea!
You've covered match / case, guards, and pattern matching.
This is your reference. Everything in one place.
Come back here whenever you need a reminder.
match / case…

04 May 2026 1 min read files [1] comments [0] 21 views
// Control Flow
When one loop isn't enough

The problem...
You need to loop through something. And for every item — loop through something else.
A table. A grid. Every combination of two sequences. One loop can't do…

04 May 2026 2 min read files [1] comments [0] 21 views
// Control Flow
Loop and decide — together

The problem...
You've seen for alone. You've seen if alone. You've even seen them together — briefly.
But in nested loops, the combination becomes essential. You're not ju…

04 May 2026 2 min read files [1] comments [0] 21 views