// blog

Articles

// Data Structures
Lists Mini Project — Even Numbers

What you're building
A program that takes 6 numbers from the user, stores them in a list, and returns a new list with only the even ones.
The filtering happens inside a function…

05 May 2026 1 min read files [1] comments [0] 19 views
// Data Structures
Common Lists Mistakes

You've covered a lot of ground with lists. Here are the mistakes that show up most often — and how to fix them.
1. Capturing None from a mutating method
squad = ["Raven", …

05 May 2026 2 min read files [1] comments [0] 19 views
// 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