What does yield from do in Python?
Correct answer
B. Delegates to another iterable or generator
7 views
B. Delegates to another iterable or generator
7 views
yield from yields all values from a sub-iterator.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is B? Ask here and get an explanation.