Random numbers — when, and why
Random numbers power simulations, sampling, lottery picks, games, and statistical resampling. Most apps use a pseudo-random generator: deterministic but statistically indistinguishable from true random.
Setting a seed makes the output reproducible — invaluable for testing and Monte-Carlo experiments where you need to repeat exactly the same run.