Sie sind auf Seite 1von 1

#Dictionaries

#Immutable objects can be used as keys to dictionaries . Immutable objects are objects that
cant be changed. If you were to use a mutable object in a dictionaries then you will receive a
type error.

bad_dict={
[1,2,3]: "one two three",
}

"""
Returns
Type Error: unhashable type: "List"
""

Das könnte Ihnen auch gefallen