►
Run
s = {'Apple', 'Banana', 'Mango', 'Cherry'} result = filter(lambda x: len(x) == 5, s) result = set(result) print(result)
Output