STEP 1: Let's use a spinner and learn more about the lines of code that create it.

The spinner takes two arguments, theoretical probability and sample space. The list of theor_prob values determine the size of the sections that appear. The list, sample_space, holds all of the possible outcomes.

  • In SUBJECT, click on . Drag out Spinner.
  • Then, drag out Set Y, so we can change the spinner's position.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE