I have 2 dictionaries:
dict1 = {"Name":"x", "Surname":"y", "Age":30}
dict2 = {"Name":"x", "Surname":"y"}
I want a condition like this:
if dict2 in dict1:
return True
If I run this code it returns:
TypeError: unhashable type: 'dict'
Solutions?