This may just be for curiosity
Following code i try to make look different:
vertsThatCount = dict([(v,ve) for v,ve in vertToGrps.iteritems() if 2 < len(ve)])
vertToGrps is an dictionary, that may look like this
v1 : [1,5,7], v2 : [1,3], v3 : [2,4,7], v4 : [5,6], ...
and i want a dictionary with only the items, where the values have at least 3 elements.
now i wonder, how the equivalent with filter and lambda would look like.