# have_three Given a list of ints, return true if the value 3 appears in the list exactly 3 times, and no 3's are next to each other. This exercise was taken from [codingbat.com](https://codingbat.com/prob/p109783) 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:** ``` [3, 1, 3, 1, 3] ``` **Output:** ``` True ``` ### Test 2 **Input:** ``` [3, 1, 3, 3] ``` **Output:** ``` False ``` ### Test 3 **Input:** ``` [3, 4, 3, 3, 4] ``` **Output:** ``` False ``` ### Test 4 **Input:** ``` [1, 3, 1, 3, 1, 2] ``` **Output:** ``` False ``` ### Test 5 **Input:** ``` [1, 3, 1, 3, 1, 3] ``` **Output:** ``` True ``` ### Test 6 **Input:** ``` [1, 3, 3, 1, 3] ``` **Output:** ``` False ``` ### Test 7 **Input:** ``` [1, 3, 1, 3, 1, 3, 4, 3] ``` **Output:** ``` False ``` ### Test 8 **Input:** ``` [3, 4, 3, 4, 3, 4, 4] ``` **Output:** ``` True ``` ### Test 9 **Input:** ``` [3, 3, 3] ``` **Output:** ``` False ``` ### Test 10 **Input:** ``` [1, 3] ``` **Output:** ``` False ``` ### Test 11 **Input:** ``` [3] ``` **Output:** ``` False ``` ### Test 12 **Input:** ``` [1] ``` **Output:** ``` False ```