Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.6k Views5.3k Upvotes
34 easy83 med22 hard
Easy
3 questionsMedium
11 questionsWhat are mixins in Python?
DSA ยท 1.2k views ยท oop, mixins
Views:1.2kLikes:8
What is structural pattern matching (match/case)?
DSA ยท 1.1k views ยท match, pattern-matching
Views:1.1kLikes:52
What is composition versus inheritance?
DSA ยท 1.0k views ยท oop, composition
Views:1.0kLikes:4
What is the LEGB rule for scope resolution?
DSA ยท 890 views ยท scope, legb
Views:890Likes:5
What are common Python security pitfalls?
Backend ยท 881 views ยท security, eval, pickle
Views:881Likes:55
What is the difference between __new__ and __init__?
DSA ยท 879 views ยท new, init
Views:879Likes:67
What are dataclasses?
DSA ยท 736 views ยท dataclasses
Views:736Likes:30
How do you create and chain custom exceptions?
DSA ยท 727 views ยท exceptions, custom
Views:727Likes:72
Hard
4 questionsWhat is the difference between __getattr__ and __getattribute__?
DSA ยท 409 views ยท attributes, dunder
Views:409Likes:57
How does attribute lookup work on a Python object?
DSA ยท 404 views ยท attributes, lookup
Views:404Likes:24
What is the descriptor protocol?
DSA ยท 342 views ยท descriptors, data-model
Views:342Likes:25
What is __init_subclass__ in Python?
DSA ยท 224 views ยท oop, init-subclass
Views:224Likes:2
Seen a Python question that is not here? Add it and help the next candidate.
Share a question