WARNING: This program has a bug, which means we need to fix it! This bug is a logic error.

RULE: Commands must be indented inside an event with a green block ···· to run when the event is triggered.

  • Click Run and notice the error in the program. One of our commands is outside of the event!
  • Debug the program so that the penguin flips upside down and then turns left INSIDE the event.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)