6 of the 16 python 2.7 solutions are wrong.
They treat [3,4,5] or [2,6,12] as triangles which they are not.