Activity: Debugging 1

WARNING: This program has a bug, which means we need to fix it! This program has a logic error.

RULE: Your sample space and theoretical probability lists should have the same number of items.

  • Click Run and notice how your spinner only has three colors when it should have four.
  • Add .25 to the end of your theor_prob list, so your spinner shows four colors.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support