STEP 10: We'll use a list of sprites to create our ring of sprites placed around the world.

  • In the LOGIC tab, click on .
  • Drag out Integer Variable. Drop it at the bottom of your program.
  • Change the name of the variable from my_var to rotate.
  • Change the value on the right side of the = sign from 25 to 90.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_left(45) # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_right(45) sprite = codesters.Sprite("earth") people_sprites = ['person1', 'person2', 'person3', 'person4', 'person5', 'person6', 'person7', 'person8','person9', 'person10', 'person11', 'person12']