I just accidentally invented a riddle when programming. :D First correct answer gets this post's reward. :P
Words
46
Reading
1 min
6y
Given the numbers 1 to 10 and the randomly chosen number R and two prediction values P1 and P2:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|
| P1 | R | P2 |
Which guess was better? P1 or P2?
Actually pretty simple. I just had to think about it for a moment when implementing it. ;)