Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.6k 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 ยท 478 views ยท fstrings
Views:478Likes:41
What is the difference between __repr__ and __str__?
DSA ยท 456 views ยท dunder, repr, str
Views:456Likes:76
How does comparison chaining (a < b < c) work?
DSA ยท 352 views ยท operators, chaining
Views:352Likes:35
What is the walrus operator?
DSA ยท 117 views ยท walrus
Views:117Likes: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 ยท 828 views ยท operators, data-model
Views:828Likes:39
What is the difference between the call stack and the heap in Python?
DSA ยท 652 views ยท memory, stack, heap
Views:652Likes:64
How do default, keyword-only and positional-only parameters work?
Backend ยท 514 views ยท functions, parameters
Views:514Likes:30
What are generators and why use them?
DSA ยท 501 views ยท generators
Views:501Likes:8
What is the memory difference between a list comprehension and a generator expression?
DSA ยท 400 views ยท generator-expression
Views:400Likes:11
What is Python 3.12's new type parameter syntax (type, generic classes)?
DSA ยท 292 views ยท typing, generics, python3.12
Views:292Likes:21
Hard
2 questionsSeen a Python question that is not here? Add it and help the next candidate.
Share a question