Glossary

How to extend:

Change `random_seed` to see different short runs. - Replace `rng.integers(0, 2, total_flips)` with `rng.binomial(1, 0.6, total_flips)` to simulate a biased coin. - Run multiple simulations (10 different seeds) and overlay them to show that all converge.

Learn More

Related Terms