Computer Science, asked by ruanasri7, 4 months ago

Why can’t lists be used as keys in a Python dictionary ?

Answers

Answered by valeriy69
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.

\small\mathsf\color{lightblue}useful?\: \color{white}\mapsto\: \color{gold}brainliest

Similar questions