in_1020

Given 2 int values, return true if either of them is in the range 10..20 inclusive.

This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.

Test 1

Input:

12
99

Output:

True

Test 2

Input:

21
12

Output:

True

Test 3

Input:

8
99

Output:

False

Test 4

Input:

99
10

Output:

True

Test 5

Input:

20
20

Output:

True

Test 6

Input:

21
21

Output:

False

Test 7

Input:

9
9

Output:

False