STEP 7: Let's collect the result of each roll and store it in a list.

The .append() command allows us to add a new item to an existing list.

  • In LOGIC, click on . Drag Append INSIDE your loop.
  • Change the name in front of the command from my_list to rolls.
  • Change the argument from my_var to outcome.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE