Pythonic Python Quiz

Write Python the way Python developers do: comprehensions, lambdas, generators, decorators and the built-ins that replace whole loops.

Intermediate 5 quizzes · 50 questions about 33 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 enumerate, zip & sorted Easy Use the built-ins that replace index counters, parallel loops and hand-written sorting. #built-ins#loops#sorting 10 questions · ~5 min Not started Start
2 List Comprehensions Medium Predict what list, dict and generator comprehensions produce, including the classic traps. #comprehension#output-prediction 10 questions · ~6 min Not started Start
3 Lambda, map & filter Medium Write small anonymous functions and use them with map, filter, sorted and reduce. #lambda#map-filter#sorting 10 questions · ~6 min Not started Start
4 Generators & yield Hard Trace exactly when generator code runs, what it yields and when it is used up. #generators#iterators#output-prediction 10 questions · ~8 min Not started Start
5 Decorators Hard Read and write decorators, from simple wrappers to decorators that take arguments. #decorators#closures#interview 10 questions · ~8 min Not started Start