Your concept feed

10 ideas

A few small steps. No rush.

Follow the connections in this topic

Let’s picture it

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

Swipe when you’re ready
One little change

Point to the middle one.

0 · Home
1 · Park
2 · Café

The park is second. In Python, its position is 1, because counting starts at 0.

Same idea. One more small step.
Now it has a name

That’s a list.

Home
Park
Café

A list keeps things in order. An index is just a position in that list.

Want to try a tiny question?
No pressure. Just try it.

Which place is at position 0?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

Nothing to learn first. Let’s replay this little example.

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

1 / 3
Let’s picture it

Now visit each stop.

Home
Park
Café

You don’t need three different instructions. “Visit the next place” works each time.

Swipe when you’re ready
One little change

One, then the next.

✓ Home
Park
Café

Finish home. Move to the park. Then do the same at the café.

Same idea. One more small step.
Now it has a name

That repeat is a loop.

✓ Home
✓ Park
✓ Café

One small action, repeated for each item. Three stops mean three visits.

Want to try a tiny question?
No pressure. Just try it.

Add one more stop. How many visits now?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

1 / 3
Let’s picture it

What if it rains?

☔ Rain
☕ Café

Let’s choose the café on rainy days, and the park on sunny days.

Swipe when you’re ready
One little change

Today is sunny.

☀ Sun
🌳 Park

The rule stays the same. The weather changed, so we choose the other place.

Same idea. One more small step.
Now it has a name

That’s an if / else.

Raining?
Yes: café
No: park

A condition is a yes-or-no question. Its answer chooses which step happens next.

Want to try a tiny question?
No pressure. Just try it.

It’s raining. Where does our rule send us?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Now visit each stop.

Home
Park
Café

You don’t need three different instructions. “Visit the next place” works each time.

1 / 3
Let’s picture it

Name a tiny job.

3
add one
4

Our job is “add one.” Give it 3, and it gives back 4.

Swipe when you’re ready
One little change

Try a new input.

8
add one
9

Give the same job 8. It gives back 9. We can reuse the instructions.

Same idea. One more small step.
Now it has a name

That job is a function.

input
function
answer

Input goes in. An answer comes back. In Python, return sends the answer back.

Want to try a tiny question?
No pressure. Just try it.

What does add-one return for 5?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

What if it rains?

☔ Rain
☕ Café

Let’s choose the café on rainy days, and the park on sunny days.

1 / 3
Let’s picture it

Picture a pile of plates.

Pink · top
Blue · bottom

Blue goes down first. Pink goes on top.

Swipe when you’re ready
One little change

Take the top one.

Take pink
Blue stays

Pink comes off first, even though blue arrived first.

Same idea. One more small step.
Now it has a name

That’s a stack.

Newest call
Earlier call

Last in, first out. Paused function calls work this way too: finish the newest call, then return.

Want to try a tiny question?
No pressure. Just try it.

Add green on top. Which plate comes off next?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Name a tiny job.

3
add one
4

Our job is “add one.” Give it 3, and it gives back 4.

1 / 3
Let’s picture it

Now picture a line of people.

Ana
Bo

Ana arrives first. Bo waits behind her.

Swipe when you’re ready
One little change

Ana goes first.

Ana leaves
Bo
Cy joins

Bo moves to the front. New arrivals join the back.

Same idea. One more small step.
Now it has a name

That’s a queue.

front →
Bo
Cy

First in, first out. Unlike plates, we serve the oldest waiting item first.

Want to try a tiny question?
No pressure. Just try it.

Who goes before Cy?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Picture a pile of plates.

Pink · top
Blue · bottom

Blue goes down first. Pink goes on top.

1 / 3
Let’s picture it

Have we visited the park?

Home ✓
Park ✓

Keep a little checklist of places we’ve seen.

Swipe when you’re ready
One little change

Write park again.

Home ✓
Park ✓

We still only need one check beside park. We’re remembering whether, not how many times.

Same idea. One more small step.
Now it has a name

That’s a set.

park in seen?
Yes

A set keeps distinct items. “Is park in here?” becomes a quick membership check.

Want to try a tiny question?
No pressure. Just try it.

Add park twice. How many copies in a set?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

1 / 3
Let’s picture it

Let’s remember a little more.

Park
5 minutes

The park is five minutes away. Write that beside its name.

Swipe when you’re ready
One little change

Look it up later.

“park”
notebook
5

Ask for “park.” The notebook gives you 5. No need to measure the walk again.

Same idea. One more small step.
Now it has a name

That’s a dictionary.

key: park
value: 5

A key finds a value. Here, the place name is the key and the time is the value.

Want to try a tiny question?
No pressure. Just try it.

We now write park: 6. What does park return?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Have we visited the park?

Home ✓
Park ✓

Keep a little checklist of places we’ve seen.

1 / 3
Let’s picture it

Draw our little walk.

Home
Park
Café

A dot for each place. A line where we can walk directly.

Swipe when you’re ready
One little change

Two short walks can join.

Home
Park
Café

Home to park, then park to café. We can reach the café without a direct road.

Same idea. One more small step.
Now it has a name

Dots and links have names.

node
edge
node

A dot is a node. A link is an edge. Together, they make a graph.

Want to try a tiny question?
No pressure. Just try it.

Must two places share a direct road to be reachable?

You can also keep scrolling
1 / 4
Start small

This idea builds on these smaller ones. Pick any to revisit it here.

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

1 / 3
Let’s picture it

Where did we put the book?

Cup
Plate
Book
Pen

Try “second shelf, first box.” We need two positions, not just one.

Swipe when you’re ready
One little change

Pick a row, then a column.

0,0
0,1
1,0
1,1

Python calls the second row 1. The first column is 0. So the book is at [1][0].

Same idea. One more small step.
Now it has a name

That’s a two-dimensional table.

cupboard
row
column

Two labels find one cell. A third label could tell us which cupboard contains the table.

Want to try a tiny question?
No pressure. Just try it.

Two cupboards have the same shelves. What extra label helps?

You can also keep scrolling
1 / 4
Start small

One small step at a time.

This idea builds on these smaller ones. Pick any to revisit it here.

Let’s start with three stops.

🏠 Home
🌳 Park
☕ Café

Home. Then the park. Then the café. Just a few things in a row.

1 / 3
You've reached the end of these ideas.Try them without the labels