#123. in1To10
in1To10
Background
Description
Given a number n, return true if n is in the range 1..10, inclusive. Unless outsideMode is true, in which case return true if the number is less or equal to 1, or greater or equal to 10.
Format
Input
Output
Samples
5 false
true
11 false
false
11 true
true
Limitation
1s, 1024KiB for each test case.