Riddle: What tells a robot to do the same thing again and again? (Video)

School & Science β–Ά 0:20

The riddle

I tell a robot to do the same thing again and again, until something tells it to stop. What am I?

Show hint
A roller coaster has one that goes upside down.
Show answer
A loopIn programming, a loop repeats instructions until a condition tells it to stop. A roller coaster loop goes round and round too.

About this riddle

A coding riddle for beginners. Think about how a program repeats a step without writing it out a hundred times.