Consider the following example of a LightBot program written out in text. Again, in this case we have named our robot "andy". When would andy jump?

f1:
  andy.move();
  andy.turnRight();
  andy.move();

main:
  andy.f1();
  andy.f1();
  andy.jump();
Jumping will be the SEVENTH thing andy does
  • Jumping will be the FOURTH thing andy does
  • Jumping will be the SIXTH thing andy does
  • ]
  • Jumping will be the THIRD thing andy does

>The f1() method is run twice. This means andy would move, turn right, and move, then do it all over again