Checkpoint 24.5.1.
Make sure that your simulation is giving the right answer for the likelihood of getting 5 heads in a row while flipping a coin 100 times. You should be getting an answer of around 80%.
Then modify the program to check the odds of getting 6 heads in a row (instead of just 5). What answer do you get? Round it to the nearest whole number and enter it here:
Tip: you may want to change
repetitions
to 10000
so your answer is more reliable (the more repetitions you do, the more reliable the result will be.)