How can a random sample answer a question too hard to count out, and what decides how much you should trust its estimate?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
flips is a sample of 10 flips of one coin ('H' or 'T'). Estimate the fraction of heads the coin would give over infinitely many flips from this sample, and assign it to frac_heads.