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

RULE: All Codesters image labels use lower case letters.

  • Click Run and watch the stage. Does an image of a pig appear?
  • Fix the program so that the sprite has the image label "pig" in all lower case letters.
  • 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("barn") sprite = codesters.Sprite("Pig") sprite.go_to(0, -125)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)