has_12¶
Given a list of ints, return true if there is a 1 in the list with a 2 somewhere later in the list.
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.