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.
Resulting in a negative.
No comments yet.