Activity: Debugging 5

WARNING: This program has two bugs, which means we need to fix both of them.

RULE: Quotes " " and parentheses ( ) always come in pairs.

  • Click Run and read the error message. Then click OK.
  • Click Run after you make a change to test your program. If you still get another error, try again.
  • Debug the program until the sprite moves across the stage. Then click Submit and Next.

stage.set_background("flowers") sprite = codesters.Sprite("person1) sprite.move_back(150