Question d’entretien chez EquityZen

What is a generator function in Python?