Sollicitatievraag bij Cognizant

What is yield in python? How is it different from return