STEP 4: It doesn't look like a stripe yet! It needs to be longer and wider.

Comments are gray and have a # in front of them. They are for you to read, and are ignored by the program. The comment above the rectangle tells us what each parameter in the rectangle code controls: (x, y, width, height, "color").

  • Change the rectangle's width parameter from 100 to 700.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 100, 50, "gold")