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

  • Change the image label from "codester" to value. (You will get an error if value is in quotes!)
  • Click on and drag Wait inside the loop.
  • Change the number in .wait() from 2 to 0.2

Remember, commands in a loop must be indented. A ···· will show before properly indented commands!


Not started reading
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'] rotate = 90 for value in people_sprites: # add code here sprite = codesters.Sprite("codester")
Not started