// resources
Resources
All
|
Cheatsheet
Code Example
Exercise
Template
Other
Achievement
|
Basics
Control Flow
Functions
Data Structures
Modules & Packages
Projects
Object-oriented programming
|
↑ oldest first
↓ newest first
// Cheatsheet
Strings — The Full Picture
Everything you've learned about strings — in one place. Indexing, slicing, methods, formatting, input, and common mista…
// Cheatsheet
Numbers — The Full Picture
Everything you've learned about numbers — in one place. Types, operators, int vs float, rounding, math module, and comm…
// Cheatsheet
Bools — The Full Picture
Everything you've learned about bool — in one place. Comparison operators, logical operators, in, combining conditions,…
// Cheatsheet
if / elif / else — The Full Picture
if / elif / else — The Full Picture. Everything you've learned about conditions — in one place. Comparison operators, l…
// Cheatsheet
for loops — The Full Picture
for loops — The Full Picture. Everything you've learned about for loops — in one place. range(), counters, enumerate(),…
// Cheatsheet
pass / continue / break — The Full Picture
pass / continue / break — The Full Picture. Three tools, three jobs. Side by side, with for...else, search pattern, and…
// Cheatsheet
while loops — The Full Picture
while loops — The Full Picture. random, while, complex conditions, while True + break, while + random, while...else, co…
// Cheatsheet
match / case — The Full Picture
match / case — The Full Picture. Basics, guards, normalization, match vs if/elif, vending machine pattern, common mista…
// Cheatsheet
nested_loops_cheatsheet.pdf
Nested Loops & Patterns — The Full Picture. for+for, for+if, while+for, break scope, accumulators, common mistakes.
// Cheatsheet
Functions — The Full Picture
Functions — The Full Picture. def, parameters, return, scope, multiple return values, try/except/else/finally, raise, c…
// Cheatsheet
Lists — The Full Picture
Lists — The Full Picture. Creating, indexing, slicing, mutating methods, inspection, iteration, nested lists, split(), …
// Cheatsheet
Lists — The Full Picture
Dicts — The Full Picture. Creating, reading, modifying, inspecting, iterating, nested dicts, safe access patterns, and …
// Cheatsheet
Dicts — The Full Picture
Everything you've learned about dicts — in one place. Creating, reading, modifying, inspecting, iterating, nested dicts…
// Cheatsheet
File Handling — The Full Picture
Everything you've learned about file handling — in one place. The pattern, modes, reading, writing, CSV, error handling…
// Cheatsheet
Modules — The Full Picture
Everything you've learned about modules — in one place. random, math, datetime, statistics, time, collections, string, …