// blog

Articles

// Data Structures
Lists — The Full Picture

You've covered lists from every angle. Before moving on, here's everything in one place.
// Creating lists
["a", "b", "c"] # literal — values known upfront
[] …

05 May 2026 2 min read files [2] comments [0] 19 views
// Data Structures
This One's Yours — Lists

A list is just a list. Until you know what to do with it.
append() until it's full. pop() when you're done with something. sort() when order matters. copy() before you break the …

05 May 2026 1 min read files [1] comments [0] 20 views
// Data Structures
The Dict: One Key, One Value, Zero Guessing

The problem...
You have a list of soldiers and a list of scores.
names = ["Raven", "Wolf", "Ghost"]
scores = [85, 74, 91]
To find Wolf's score, you need to know Wolf is at in…

06 May 2026 2 min read files [0] comments [0] 18 views
// Data Structures
From Empty to Full: How to Create Dicts in Python

The problem...
You know what a dict is. Key, value, instant lookup.
But there's more than one way to build one — and each fits a different situation.
Knowing which to rea…

06 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
How to Ask a Dict for What You Need

The problem...
You have a dict. Data is in there — names, scores, settings, whatever it is.
Now you need to get it out.
There's more than one way to do it. And the wrong …

06 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
How to Modify a Dict

The problem...
You have a dict. But data changes.
A soldier gets promoted. A score gets updated. An entry needs to be removed.
Dicts in Python aren't frozen — you can cha…

06 May 2026 2 min read files [1] comments [0] 18 views