Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k 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 ยท 888 views ยท scope, legb
Views:888Likes: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 ยท 877 views ยท new, init
Views:877Likes:67
What are dataclasses?
DSA ยท 733 views ยท dataclasses
Views:733Likes:30
How do you create and chain custom exceptions?
DSA ยท 724 views ยท exceptions, custom
Views:724Likes:72
Hard
4 questionsWhat is the difference between __getattr__ and __getattribute__?
DSA ยท 407 views ยท attributes, dunder
Views:407Likes:57
How does attribute lookup work on a Python object?
DSA ยท 402 views ยท attributes, lookup
Views:402Likes:24
What is the descriptor protocol?
DSA ยท 340 views ยท descriptors, data-model
Views:340Likes:25
What is __init_subclass__ in Python?
DSA ยท 223 views ยท oop, init-subclass
Views:223Likes:2
Seen a Python question that is not here? Add it and help the next candidate.
Share a question