3 ms·
The error is when the argument to the `challenge` command is anything other than a number. Try `challenge monkey`. It then accepts zero for N, and the computer
by carb 14y ago
The error is when the argument to the `challenge` command is anything other than a number. Try `challenge monkey`. It then accepts zero for N, and the computer always picks a positive number.
Resulting in a negative.