Hudson River Trading Interview Question

What is a Yield statement use for in Python?