Level 13 · Teach Dabbu a route लेवल 13 · डब्बू को रास्ता सिखाओ
Lesson 13 of 20 · about 6 minutes · The road has the same shape twice.
⚡ 0 XP
Step 1 of 1
Level 13 · Teach Dabbu a route
A function is a set of steps with a name. You teach it once and then call it by name whenever you need it — like teaching someone “the way to school” once.
In code, functions stop us from writing the same steps again and again.
🎯 Challenge: Level 13 · Teach Dabbu a route +20 XP
The road has the same shape twice. Build it once inside “define my route”, then use “do my route” two times.
Try twice to unlock the solution (0/2)
Loading blocks…
🧩 0 blocks used · best 10
Loading blocks…
See the code · JavaScript
// Drag blocks under “when Run is pressed”
Lesson notes (text version)
1. Level 13 · Teach Dabbu a route
A function is a set of steps with a name. You teach it once and then call it by name whenever you need it — like teaching someone “the way to school” once.
In code, functions stop us from writing the same steps again and again.
Challenge: Level 13 · Teach Dabbu a route
The road has the same shape twice. Build it once inside “define my route”, then use “do my route” two times.