which is not used as a key in python dictionaries
Answers
Answered by
2
Answer:
The builtin list type should not be used as a dictionary key
Explanation:
follow me
Answered by
11
Answer:
hey mate here is your answer
Explanation:
The builtin list type should not be usedas a dictionary key. Note that since tuples are immutable, they do not run into the troubles of lists - they can be hashed by their contents without worries about modification. Thus, inPython, they provide a valid __hash__ method, and are thus usable asdictionary keys.
mark me as brainliest ❤️❤️❤️
Similar questions