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

RULE: Indexes refer to the order items are placed on a list. The 1st position is 0, the 2nd position is 1, and so on.

Our sprite is a dog owner and wants to show an image of its pet dog.

  • Click Run and watch the stage to see what's wrong.
  • Debug the program so that the "dog" image shows on the stage.


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)