Why can’t lists be used as keys in a Python dictionary ?
Answers
Answered by
5
Class list does not implement the method hash which is required for any object that wishes to be used as a key in a dictionary.
Similar questions