Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k Views5.3k Upvotes
34 easy83 med22 hard
Easy
2 questionsMedium
8 questionsWhat are abstract base classes and Protocols?
DSA ยท 924 views ยท abc, protocol
Views:924Likes:13
What is the difference between class variables and instance variables?
DSA ยท 386 views ยท oop, class-vars
Views:386Likes:28
What are generics and TypeVar in Python?
DSA ยท 366 views ยท typing, generics
Views:366Likes:22
How do you enforce match/case exhaustiveness in Python?
DSA ยท 354 views ยท match, exhaustiveness
Views:354Likes:28
What is Python 3.12's new type parameter syntax (type, generic classes)?
DSA ยท 288 views ยท typing, generics, python3.12
Views:288Likes:21
What does typing.Self do and why does it beat TypeVar for methods?
DSA ยท 119 views ยท typing, self, python3.11
Views:119Likes:55
What is EAFP vs LBYL in Python?
DSA ยท 90 views ยท eafp, lbyl
Views:90Likes:20
How do type hints work in Python?
DSA ยท 41 views ยท typing
Views:41Likes:19
Hard
3 questionsHow does typing.Never enable exhaustive match checking?
DSA ยท 895 views ยท typing, never, match
Views:895Likes:24
What is TypeVarTuple and Unpack for variadic generics?
DSA ยท 579 views ยท typing, typevartuple, generics
Views:579Likes:62
How do Unpack and TypedDict enable type-safe **kwargs?
Backend ยท 170 views ยท typing, unpack, typeddict
Views:170Likes:29
Seen a Python question that is not here? Add it and help the next candidate.
Share a question