WARNING: This program has a bug and we need to fix it! We're trying to draw a rectangle but it has the wrong height!

RULE: You should use comments to determine which parameters match with which value.

  • Click Run to see what's wrong.
  • Debug the program so that it draws a rectangle with a height of 200.
  • Click Run after you make a change to test your program.


stage.set_background("grid") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(100, 100, 100, 50, "blue")