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

RULE: Numbers do not have quotes around them. For example, type 5 not "5".

  • Click Run and read the error message. Then click OK.
  • Fix the program so that the number does not have quotes, like this: 5.
  • 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("summer") sprite = codesters.Sprite("dog") sprite.move_down("5")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)