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

In Python, whether we use upper or lower case letters matters. All Codesters image names use lower case letters.

  • Click Run and watch the stage.
  • Fix the code so that the sprite has the image name "pig".
  • 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)