Activity: Debugging 2

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

RULE: Move down commands have integer arguments. Integers are blue and not surrounded by quotes.

  • Click Run and read the error message.
  • Debug the program so that the hedgehog moves down 150 pixels.

stage.set_background("winter") sprite = codesters.Sprite("hedgehog") sprite.move_down("150")