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 ยท 985 views ยท enum, stdlib
How are Python dictionaries implemented and ordered?
DSA ยท 724 views ยท dict, data-structures
How do pyproject.toml, tomllib, and uv/pyproject workflows fit together?
Backend ยท 583 views ยท toml, pyproject, packaging
What do enumerate and zip do?
DSA ยท 348 views ยท enumerate, zip
What is duck typing in Python?
DSA ยท 136 views ยท duck-typing, polymorphism
What is the walrus operator?
DSA ยท 110 views ยท walrus
How does exception handling work in Python?
DSA ยท 87 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 ยท 924 views ยท abc, protocol
What is the LEGB rule for scope resolution?
DSA ยท 888 views ยท scope, legb
How does exception propagation work up the call stack?
DSA ยท 773 views ยท exceptions, propagation
How do you write tests in Python with unittest and pytest?
Backend ยท 643 views ยท testing, unittest, pytest
How do you raise and split ExceptionGroups manually?
Backend ยท 551 views ยท exceptions, exceptiongroup, asyncio
How do default, keyword-only and positional-only parameters work?
Backend ยท 510 views ยท functions, parameters
How do you enforce match/case exhaustiveness in Python?
DSA ยท 354 views ยท match, exhaustiveness
Hard
2 questionsSeen a Python question that is not here? Add it and help the next candidate.
Share a question