The Robot Sandwich

Python FundamentalsEasy+10 XP+10

The Robot Sandwich

You write steps for a robot that makes a toasted cheese sandwich:

  1. Take 2 slices of bread.
  2. Spread 1 spoon of butter on one slice.
  3. Place 3 slices of cheese on the buttered slice.
  4. Put the other slice on top.
  5. Toast the sandwich until it is done.
  6. Cut it into 2 equal halves.

The robot follows steps exactly and never guesses. Which step would it get stuck on?

Enter the step number (a whole number from 1 to 6).

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.