O'Reilly logo
  • Sanchit Khandelwal thinks this is interesting:

enough_es = [name for name in names if name.count('e') > 2]

From

Cover of Python for Data Analysis

Note

The "if" condition should be ">=2".