Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jameshart
on June 30, 2019
|
parent
|
context
|
favorite
| on:
How to pick a random number from 1-10
Mod10, no matter how large the number you’re only keeping the last digit (assuming they choose base 10 numbers), which... is probably no more random than asking them for a single digit in the first place.
lonelappde
on July 1, 2019
[–]
Don't do mod 10, sum the digits.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: