Frage im Vorstellungsgespräch bei Huawei Technologies

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