STEP 14: The loop no longer creates a pig sprite, but the list display still shows the string "pig"!

  • In LOGIC, click and drag out Update Display.
  • Drop it under .remove() but before the loop.
  • Replace my_var in .update() with pet_list.

When you Run your code, watch how the on stage display no longer shows pig!

# THIS ACTIVITY IS IN PREVIEW ONLY MODE