two_two¶
Given a list of ints, return true if every 2 that appears in the list is next to another 2.
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.