Sector file // python
PYTHONDECODED.
Idioms, data & internals
Easy
8 questionsHow does iterable unpacking work?
DSA ยท 1.0k views ยท unpacking
What is the enum module and when should you use it?
Backend ยท 989 views ยท enum, stdlib
How are Python dictionaries implemented and ordered?
DSA ยท 726 views ยท dict, data-structures
How do pyproject.toml, tomllib, and uv/pyproject workflows fit together?
Backend ยท 586 views ยท toml, pyproject, packaging
What do enumerate and zip do?
DSA ยท 350 views ยท enumerate, zip
What is duck typing in Python?
DSA ยท 138 views ยท duck-typing, polymorphism
What is the walrus operator?
DSA ยท 117 views ยท walrus
How does exception handling work in Python?
DSA ยท 89 views ยท exceptions
Medium
12 questionsWhat is structural pattern matching (match/case)?
DSA ยท 1.1k views ยท match, pattern-matching
What are abstract base classes and Protocols?
DSA ยท 925 views ยท abc, protocol
What is the LEGB rule for scope resolution?
DSA ยท 890 views ยท scope, legb
How does exception propagation work up the call stack?
DSA ยท 775 views ยท exceptions, propagation
How do you write tests in Python with unittest and pytest?
Backend ยท 647 views ยท testing, unittest, pytest
How do you raise and split ExceptionGroups manually?
Backend ยท 554 views ยท exceptions, exceptiongroup, asyncio
How do default, keyword-only and positional-only parameters work?
Backend ยท 514 views ยท functions, parameters
How do you enforce match/case exhaustiveness in Python?
DSA ยท 357 views ยท match, exhaustiveness
Hard
2 questionsSeen a Python question that is not here? Add it and help the next candidate.
Share a question