Why Dict Keys Must Be Hashable
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.Why must dictionary keys be hashable? Can you use a list as a key? What about a tuple?
Why must dictionary keys be hashable? Can you use a list as a key? What about a tuple?
Found a mistake in this question?
Locked until you attempt this problem
Log in and submit an answer to get personalised AI feedback.