// blog

Articles

// Data Structures
What Is a List? (And Why You'll Use It Everywhere)

The problem...
You have five soldiers. Each one has a name.
You could store them like this:
soldier1 = "Raven"
soldier2 = "Wolf"
soldier3 = "Ghost"
soldier4 = "Viper"
soldi…

05 May 2026 2 min read files [0] comments [0] 18 views
// Data Structures
How to Build a List in Python

The problem...
You know what a list is. One variable, multiple values.
But knowing the concept isn't the same as knowing how to build one.
There are several ways to create a li…

05 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
split(): The Method We Promised You'd See Again

The problem...
You have a string. One long piece of text.
But the data inside it isn't one thing — it's many things stuck together.
line = "Raven Wolf Ghost Viper Bull"

05 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
Getting Elements Out of a List

The problem...
You have a list. Five names, ten scores, a hundred values.
But you don't always need the whole thing.
You need one element. Or a few. Or everything from position…

05 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
List Methods That Change the List

The problem...
You have a list. But it's not final.
You need to add something. Remove something. Sort it. Flip it around.
Lists in Python aren't frozen — you can change t…

05 May 2026 2 min read files [1] comments [0] 18 views
// Data Structures
How to Inspect a List

The problem...
You have a list. But you don't always know what's in it.
Is a specific value there? Where exactly is it? How many times does it appear? How long is the list?
You…

05 May 2026 2 min read files [1] comments [0] 18 views
« first« ← prev 1 / 8 next → last »»