WARNING: This program has a bug, which means we need to debug it!

RULE: Image labels must have parentheses around them.

  • Click Run and read the error message that pops up. Then click OK.
  • Fix the program so that the sprite's image label has parentheses around it like this: ("person4").
  • Click Run to test if you fixed the program. When it is fixed, click Submit and Next.

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

stage.set_background("city") sprite = codesters.Sprite("person4"
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)