Hudson River Trading interview question

What is a Yield statement use for in Python?