STEP 8: We should give each shape its own name, or variable.

  • Change the square's variable name to house.
  • Remember, a shape's variable name is the orange word before the equals sign =.
  • Click Run to check your work.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# sprite = codesters.Circle(x, y, diameter, "color") sun = codesters.Circle(-150, 175, 75, "gold") # sprite = codesters.Square(x, y, width, "color") sprite = codesters.Square(0, 0, 100, "blue")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)