EXERCISE 3: Another way to make your code more efficient is to use lists with loops!

  • See how this program runs the same block of code three times, but each time for a different sprite? Let's use a list to make this easier to read.
  • Go to LOGIC, click on and drag out List of Strings BEFORE we make the first sprite.
  • Make the list look like this: ["person1", "person2", "person3"].

# THIS ACTIVITY IS IN PREVIEW ONLY MODE