Pregunta de entrevista de Numerator

Difference between a generator and iterator.