### ---------------------------------- ### MINIMUM TECHNICAL REQUIREMENTS ### ### ---------------------------------- #sacred heart logo # Prior to building: # Describe what you want your program to do. my_list = ["black" ,"blue" ,"red" ,"yellow" ,"green" ,"orange" ,"pink" ,"purple" ,"white" ] for value in my_list: # add code here stage.set_background_color(value) stage.wait(.5) # sprite = codesters.Text("text", x, y, "color") s = codesters.Text("S", -200, 0, "blue") s.set_size(13) stage.wait(.5) # sprite = codesters.Text("text", x, y, "color") h = codesters.Text("H", -50, 0, "yellow") h.set_size(13) stage.wait(.5) # sprite = codesters.Text("text", x, y, "color") hh = codesters.Text("H", 100, 0, "blue") hh .set_size(13) stage.wait(.5) # sprite = codesters.Text("text", x, y, "color") ss = codesters.Text("S", 200, 0, "yellow") ss.set_size(13) stage.wait(.5) # sprite = codesters.Star(x, y, points, radius, "color") sprite = codesters.Star(-150, 150, 5, 30, "blue") sprite = codesters.Star(150, 150, 5, 30, "pink") sprite = codesters.Star(-150, -150, 5, 30, "yellow") sprite = codesters.Star(150, -150, 5, 30, "orange") stage.wait(1) s.turn_right(360) stage.wait(.2) h.turn_right(360) stage.wait(.2) hh.turn_right(360) stage.wait(.2) ss.turn_right(360) # 1) Create a list. You can use one # of our default lists. # 2) Use a Loop through List block. # See activity 17 for a reminder about how # looping through a list works. # 3) Add more actions in your loop # 4) Add additional lists and loops as necessary.
  • Run Code
  • Show Console
  • Codesters How To (opens in a new tab)