funcshow

A code playground. Every piece of Python is a ride you can play with โ€”
watch it move, then read the code it runs.

๐ŸŽฎ Play now

๐Ÿฌ
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.
๐Ÿ”€
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.

๐Ÿ—๏ธ Coming soon

๐Ÿงฉ
More rides
sort ยท set ยท tuple โ€ฆ
The whole city is being built. New workshops arrive as the quest chapters grow.