Domanda di colloquio di Hudson River Trading

What is a Yield statement use for in Python?