Pergunta de entrevista da empresa Cognizant

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