STEP 17: We're going to end our simulation by graphing the data from our knight and dragon experiment.

To do so, we should record how much time has passed every second as well as the current number of dragons.

  • In LOGIC, go to and drag in Append inside your first if statement.
  • Change the variable in front of .append() from my_list to dragon_count_list.
  • Change the variable argument inside of .append() from my_var to dragon_count.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE