Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k Views5.3k Upvotes
34 easy83 med22 hard
Easy
6 questionsHow do you work with dictionaries (get, setdefault, items, merging)?
Backend ยท 1.1k views ยท dict, basics
Views:1.1kLikes:25
How does iterable unpacking work?
DSA ยท 1.0k views ยท unpacking
Views:1.0kLikes:13
What are f-strings?
DSA ยท 474 views ยท fstrings
Views:474Likes:41
What is the difference between __repr__ and __str__?
DSA ยท 453 views ยท dunder, repr, str
Views:453Likes:76
How does comparison chaining (a < b < c) work?
DSA ยท 350 views ยท operators, chaining
Views:350Likes:35
What is the walrus operator?
DSA ยท 110 views ยท walrus
Views:110Likes:38
Medium
9 questionsWhy is using a mutable default argument dangerous?
DSA ยท 1.0k views ยท mutable-default
Views:1.0kLikes:71
What are common Python security pitfalls?
Backend ยท 881 views ยท security, eval, pickle
Views:881Likes:55
How does a + b dispatch in Python?
DSA ยท 826 views ยท operators, data-model
Views:826Likes:39
What is the difference between the call stack and the heap in Python?
DSA ยท 649 views ยท memory, stack, heap
Views:649Likes:64
How do default, keyword-only and positional-only parameters work?
Backend ยท 510 views ยท functions, parameters
Views:510Likes:30
What are generators and why use them?
DSA ยท 498 views ยท generators
Views:498Likes:8
What is the memory difference between a list comprehension and a generator expression?
DSA ยท 398 views ยท generator-expression
Views:398Likes:11
What is Python 3.12's new type parameter syntax (type, generic classes)?
DSA ยท 288 views ยท typing, generics, python3.12
Views:288Likes:21
Hard
2 questionsSeen a Python question that is not here? Add it and help the next candidate.
Share a question