Pergunta de entrevista da empresa Hudson River Trading

What is a Yield statement use for in Python?