Python Filters Posted on 2023-07-24 In Python Python Filters 12345>>> a = {'a':1, 'b':2, 'c':1}>>> a{'a': 1, 'b': 2, 'c': 1}>>> dict(filter(lambda x: x[1] > 1, a.items())){'b': 2}