Random Draws That Teachers Can Replay
“Pick a random integer from 1 to 6” sounds trivial until someone asks whether 6 can appear, whether two students should see the same sample, or whether the generator is safe for passwords. This guide separates classroom randomness from cryptographic randomness.
Inclusive Means Both Ends Are Legal
An inclusive range [min, max] allows the minimum and the maximum. Dice, card indices, and many worksheet prompts expect that. Half-open intervals [min, max) are common in programming APIs—know which contract you are using.
Seeds Are for Reproducibility, Not Secrecy
A published seed lets every student regenerate the same list for grading or screenshots. That determinism is a feature for teaching and a defect for security. If an attacker knows or can guess the seed, the “random” sequence is public.
Generate an inclusive sample
Try integer or decimal mode, with or without a seed:
Open Random Number Generator