funcshow

See what code actually does.

Every piece of Python is a machine you can watch. A knife that splits a string. A carousel that loops. A robot arm that takes one item at a time. Watch it move — then read the code it runs.

1
WatchThe machine runs on its own. No typing, no syntax errors.
2
See the codeThe Python that drives it lights up beside it, line by line.
3
Know the resultOrigin, function, code, then the result appears — you saw where it came from.

🎮 All the machines

🍬
The Splitter
"a,b,c".split(",")
A candy knife snips a string apart at the commas.
🎠
Carousel
while count > 0:
The music plays while the condition is true — watch count drop to 0.
📮
Mail Sorter
match letter: case …
A letter drops into the one slot that matches its value.
⚖️
Seesaw
a > b
The heavier ball sinks. Which side wins — True or False?
🗺️
Chapter Map
7 regions · 50 quests
A branching map through the odd city. Clear a region to unlock the next.
⚔️
Quest Engine
pick a method → run
50 data-flow quests, method bag, XP and drops. Wrong method? Just retry.
👾
Boss Fight
hit with a method → drop
Beat each chapter's monster with the right methods to earn new runes.
🧃
Fruit Punch Quest
split → upper → join
Carry the glowing value down the yellow brick road. A real quest chain!
🗃️
Type Shelf
int · str · list · dict …
Seven shapes on a shelf. Solid = immutable, open box = mutable.
🧰
The Toolbox
36 tools · 9 types · 324 cells
Built-in functions like len and abs are shared tools. Same call every time — the easiest place to start.
🧮
Type × Method Matrix
9 types · 91 methods · 819 cells
Every type against every method, all tested for real. Green works, red means that type has no such tool.
🔀
Rail Switch
if n > 5:
A signal light sends the box down the if track or the else track.
🛤️
Conveyor Belt
for i in range(n):
A fixed row of boxes gets stamped one by one — then the loop stops.
🔁
for: 3 ways
in items · range(n) · in "cat"
Same belt, three styles — the item, its index, or each character.
🧴
Glue Bottle
" ".join(parts)
The opposite of split — glue strings together with a separator block.
🛝
Slide
def double(x): return x*2
A number goes in the top, comes out changed at the bottom. That's a function.
🗄️
Lockers
locker["key"]
A labeled locker — the key opens exactly one drawer. Wrong key? KeyError.
🎡
Ferris Wheel
for i in range(n):
Numbered cabins 0, 1, 2… come around — range starts at ZERO.
📏
Tape Measure
len(word)
Pull the tape across the blocks — len counts every character block.
🪜
Swing Set
swings[2]
A numbered row of swings — the index goes straight to the right seat.
📦
Variable Box
name = x · value = 5
A box with a name stuck on the front and a value inside. Assigning swaps the value, never the name.
🤖
Fetch & Process
for x in items:
A robot arm: fetch one, process it, drop it in the bin. Also shows run result vs return value.

🧭 Start here if you're new

🏗️ Coming soon

🧩
More machines
sort · set · tuple …
The whole city is being built. New workshops arrive as the quest chapters grow.