Python Quiz: advanced generators, decorators, asyncio
Test your advanced Python knowledge: generators, decorators, the GIL, asyncio, type annotations, object copying, default values and PEP 8.
Question preview
- What does calling a function that contains the yield keyword return?
- What happens when next(it) is called on an exhausted iterator, without a default value?
- What is a decorator in Python?
… and 7 more questions to discover by playing.