Pregunta de entrevista de Hudson River Trading

What is a Yield statement use for in Python?