Pergunta de entrevista da empresa Huawei Technologies

What's the difference between python `yield` and `return` statement