Microsoft Interview Question

How do you implement a generator in python