STEP 6: Let's try changing the variable name of our sprite!

Every sprite and every shape has a variable name. The name of the shape is the orange word before the equals sign =. This name is a label that we use to call the shape. In this example, the circle shape is named sprite.

  • Change the name to sun.
  • The name should not have quotation marks around it and it should appear orange, like this.

# sprite = codesters.Circle(x, y, diameter, "color") sprite = codesters.Circle(-150, 175, 75, "gold")