Activity: Debugging 4
img

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

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

  • Click Run and read the error message. Then click OK.
  • Fix the program so that the number does not have quotes, like this: 60.
  • Click Run to test if you fixed the program. When it is fixed, click Submit and Next.

stage.set_background("summer") sprite = codesters.Sprite("dog") sprite.move_down("60")
Support