has_teen

We’ll say that a number is “teen” if it is in the range 13..19 inclusive. Given 3 int values, return true if 1 or more of them are teen.

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:

13
20
10

Output:

True

Test 2

Input:

20
19
10

Output:

True

Test 3

Input:

20
10
13

Output:

True

Test 4

Input:

1
20
12

Output:

False

Test 5

Input:

19
20
12

Output:

True

Test 6

Input:

12
20
19

Output:

True

Test 7

Input:

12
9
20

Output:

False

Test 8

Input:

12
18
20

Output:

True

Test 9

Input:

14
2
20

Output:

True

Test 10

Input:

4
2
20

Output:

False

Test 11

Input:

11
22
22

Output:

False