Sobes.tech

Tell us about yourself: what do you do, your work experience, and why are you looking for a new position?

Middle
173

Why can't a mutable type be used as a key in a dictionary? Why isn't a list hashable?

Middle
160

Is it possible to make a mutable collection a key in a dictionary? Implement your own hashable list.

Middle
126

Why are immutable data types, such as tuples, needed in Python when lists exist?

Middle
120

Classic question: what happens if you put keys 1 (int), 1.0 (float), and True (bool) into a dictionary?

Middle
118