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.

It comes from Robot Riddles, a collection of 30 riddles with hints and answers, sorted from easy to tricky. Play the video, pause it when the riddle ends, and see if you can solve it before the answer appears.

More Robot Riddles β†’

New riddle videos every day: subscribe to Riddlepedia on YouTube.