// resources

Resources

// Code Example
list_creation.py
List creation — literals, empty lists, range sequences, and string conversion. Every way Python lets you build one.
17 downloads 05 May 2026 → How to Build a List in Python
[ download ]
// Code Example
split_method.py
split() — cutting strings into lists. Default whitespace split, custom separators, maxsplit, and the difference between…
[ download ]
// Code Example
list_indexing_slicing.py
Indexing and slicing — reaching into a list for one element or many. Positive and negative indexes, slice ranges, step,…
17 downloads 05 May 2026 → Getting Elements Out of a List
[ download ]
// Code Example
list_methods_mutating.py
Mutating list methods — append, insert, extend, remove, pop, clear, sort, reverse. Methods that change the list directl…
17 downloads 05 May 2026 → List Methods That Change the List
[ download ]
// Code Example
list_methods_inspection.py
Inspection methods — in, len, index, count, copy, min, max, sum. Reading a list without changing it, and the copy trap …
17 downloads 05 May 2026 → How to Inspect a List
[ download ]
// Code Example
list_iteration.py
Iterating over lists — for loops, enumerate, zip, and while. Every pattern for going through a list, and when to reach …
17 downloads 05 May 2026 → Going Through Every Element
[ download ]
// Code Example
list_nested.py
Nested lists — lists inside lists. Creating, accessing with double indexes, looping with nested for, modifying inner li…
17 downloads 05 May 2026 → Going Deeper with Nested Lists
[ download ]
// Exercise
shopping_list.py
shopping_list.py — A shopping list that lives in a loop. Add items, remove them safely, quit when done. append(), remov…
17 downloads 05 May 2026 → Lists Mini Project — Shopping List
[ download ]
// Exercise
grade_book.py
Grade Book — nested lists for three subjects, grade input, average per subject, overall average, and empty list protect…
17 downloads 05 May 2026 → Lists Mini Project — Grade Book
[ download ]
// Exercise
even_numbers.py
Even Numbers — collect 6 inputs, filter with a function, return a clean list. Modulo, append, and a function that doesn…
17 downloads 05 May 2026 → Lists Mini Project — Even Numbers
[ download ]
// Other
list_mistakes.py
8 mistakes almost every beginner makes with lists. Wrong way, error, right way — all in one file.
17 downloads 05 May 2026 → Common Lists Mistakes
[ download ]
// Cheatsheet
Lists — The Full Picture
Lists — The Full Picture. Creating, indexing, slicing, mutating methods, inspection, iteration, nested lists, split(), …
17 downloads 05 May 2026 → Lists — The Full Picture
[ download ]
// Achievement
lists_complete_medal.stl
You finished the Lists chapter. Download, print, and keep it. You earned it.
17 downloads 05 May 2026 → This One's Yours — Lists
[ download ]
// Code Example
dict_creation.py
Dict creation — literals, empty dicts, keyword arguments, zip from two lists, and adding keys one at a time. Every way …
[ download ]
// Code Example
dict_reading.py
Reading from a dict — square brackets, get(), default values, and keys/values/items views. Direct when certain, safe wh…
16 downloads 06 May 2026 → How to Ask a Dict for What You Need
[ download ]
« first« ← prev 1 / 3 next → last »»