I want to filter elements from a list of lists, and iterate over the elements of each element using a lambda. For example, given the list:
a = [[1,2,3],[4,5
Try something like this:
filter(lambda a: a[0] + a[1] + a[2] >= N, a)