Qualcomm Interview Question

Tell us about generator functions in Python.