Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k Views5.3k Upvotes
34 easy83 med22 hard
Easy
10 questionsWhat is the difference between '==' and 'is'?
DSA ยท 1.1k views ยท is, equality
Views:1.1kLikes:4
How do you work with dictionaries (get, setdefault, items, merging)?
Backend ยท 1.1k views ยท dict, basics
Views:1.1kLikes:25
How does slicing with start:stop:step work?
DSA ยท 1.1k views ยท slicing, sequences
Views:1.1kLikes:67
What is the difference between append, extend and insert on a list?
Backend ยท 1.1k views ยท lists, basics
Views:1.1kLikes:45
How do you read TOML with tomllib in Python 3.11+?
Backend ยท 715 views ยท tomllib, config, python3.11
Views:715Likes:42
What is the difference between a list and a tuple?
DSA ยท 549 views ยท python, basics
Views:549Likes:53
What is the difference between __repr__ and __str__?
DSA ยท 453 views ยท dunder, repr, str
Views:453Likes:76
How do you sort with a custom key, and how does sorted differ from sort?
DSA ยท 404 views ยท sorting
Views:404Likes:12
Medium
5 questionsWhat is the difference between shallow and deep copy?
DSA ยท 1.2k views ยท shallow-deep-copy
Views:1.2kLikes:65
How do uv workspaces and named dependency groups work?
Backend ยท 1.2k views ยท uv, workspaces, monorepo
Views:1.2kLikes:76
What are lambda functions and map/filter/reduce?
DSA ยท 823 views ยท lambda, functional
Views:823Likes:80
How does Python's name and object reference model work?
DSA ยท 487 views ยท memory, references
Views:487Likes:70
What is Python 3.12's new type parameter syntax (type, generic classes)?
DSA ยท 288 views ยท typing, generics, python3.12
Views:288Likes:21
Hard
1 questionSeen a Python question that is not here? Add it and help the next candidate.
Share a question