I have a couple of lists which vary in length, and I would like to compare each of their items with an integer, and if any one of the items is above said integer, it breaks
You can shorten it to this :D
for good_list in filter(lambda x: max(x)<=70, listoflists): # do stuff