Sector file // python
PYTHONDECODED.
Idioms, data & internals
Easy
17 questionsWhat is the difference between '==' and 'is'?
DSA ยท 1.1k views ยท is, equality
What are mutable and immutable types in Python?
DSA ยท 1.1k views ยท mutability
Why use virtual environments?
DSA ยท 1.1k views ยท venv, pip
How does slicing with start:stop:step work?
DSA ยท 1.1k views ยท slicing, sequences
What is the difference between append, extend and insert on a list?
Backend ยท 1.1k views ยท lists, basics
How 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
What is the difference between a module and a package?
DSA ยท 939 views ยท modules, packages
Medium
39 questionsWhat is the difference between shallow and deep copy?
DSA ยท 1.2k views ยท shallow-deep-copy
What are mixins in Python?
DSA ยท 1.2k views ยท oop, mixins
How do uv workspaces and named dependency groups work?
Backend ยท 1.2k views ยท uv, workspaces, monorepo
What is the difference between an iterable and an iterator?
DSA ยท 1.1k views ยท iterators
What are dunder (magic) methods?
DSA ยท 1.1k views ยท oop, dunder
What do the global and nonlocal keywords do?
DSA ยท 1.1k views ยท global, nonlocal
What is structural pattern matching (match/case)?
DSA ยท 1.1k views ยท match, pattern-matching
What is the Global Interpreter Lock (GIL)?
DSA ยท 1.1k views ยท gil, concurrency
Hard
8 questionsHow does Python manage memory and garbage collection?
DSA ยท 1.1k views ยท memory, gc
What is the Method Resolution Order (MRO)?
DSA ยท 684 views ยท mro, inheritance
What is TypeVarTuple and Unpack for variadic generics?
DSA ยท 579 views ยท typing, typevartuple, generics
What is the difference between a generator and a coroutine?
DSA ยท 546 views ยท generators, coroutines
How does the asyncio event loop schedule coroutines?
DSA ยท 465 views ยท asyncio, event-loop
What is __init_subclass__ in Python?
DSA ยท 223 views ยท oop, init-subclass
How do Unpack and TypedDict enable type-safe **kwargs?
Backend ยท 170 views ยท typing, unpack, typeddict
How does async/await work in Python?
DSA ยท 141 views ยท async, asyncio
Seen a Python question that is not here? Add it and help the next candidate.
Share a question