Code / Block Coding Jr. / Unit 4: Teach once, use often: functions

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

function⚙100118

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…
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.

Search by task, life event, format or tool name, in English, हिंदी or Hinglish.