// resources

Resources

// Other
match_case_mistakes.py
5 mistakes almost every beginner makes with match / case. Version check, missing wildcard, case sensitivity, wildcard p…
26 downloads 04 May 2026 → Common MATCH/CASE Mistakes
[ download ]
// Cheatsheet
match / case — The Full Picture
match / case — The Full Picture. Basics, guards, normalization, match vs if/elif, vending machine pattern, common mista…
22 downloads 04 May 2026 → match / case — The Full Picture
[ download ]
// Code Example
nested_for_loops.py
Nested for loops — a loop inside a loop. Inner completes fully before outer moves on. Total iterations = outer × inner.
20 downloads 04 May 2026 → When one loop isn't enough
[ download ]
// Code Example
for_if_nested.py
for + if in nested loops — filter at the outer level, inner level, or both. break stops the current loop only.
20 downloads 04 May 2026 → Loop and decide — together
[ download ]
// Code Example
while_for_nested.py
while + for — while sets the pace, for does the work. break inside for stops only the for. Each loop has its job.
[ download ]
// Exercise
caesar_cipher_2.py
Caesar Cipher upgraded — nested loops encrypt a real word. Outer loop sets the target, inner loop finds and shifts it, …
[ download ]
// Exercise
password_strength_checker_2.py
Password Strength Checker upgraded — while True keeps asking, for checks every character. Flags reset on every attempt.…
[ download ]
// Exercise
hangman.py
Hangman — two players, one word. while keeps the game alive, two for loops handle display and guessing. continue skips …
[ download ]
// Other
nested_loops_mistakes.py
5 mistakes almost every beginner makes with nested loops. Indentation, break scope, counter placement, iteration count,…
27 downloads 04 May 2026 → Common Nested Loops Mistakes
[ download ]
// Cheatsheet
nested_loops_cheatsheet.pdf
Nested Loops & Patterns — The Full Picture. for+for, for+if, while+for, break scope, accumulators, common mistakes.
[ download ]
// Code Example
def_function.py
def — define a function once, call it anywhere. Parentheses required, indentation mandatory, defining doesn't run it — …
20 downloads 04 May 2026 → Your first function
[ download ]
// Exercise
banner.py
Banner — def in action. One function, consistent output, call it as many times as you need. "=" * len(title) fits the b…
26 downloads 04 May 2026 → DEF Mini Project — Banner
[ download ]
// Code Example
parameters.py
Parameters — pass values into a function, function uses them. One function, many possible inputs. Parameter in definiti…
[ download ]
// Code Example
default_parameters.py
Default parameters — a fallback value when you don't pass one. Required parameters first, defaults after. Override when…
19 downloads 05 May 2026 → A value if you don't provide one
[ download ]
// Exercise
username_generator_2.py
Username Generator rewritten with parameters — no input() inside. Pass what changes, keep what stays. Default prefix in…
[ download ]