Tag Archives: Dict

TypeError: unhashable type: ‘dict’ – Learn from Tutorial

TypeError: unhashable type: ‘dict’ ItsMyCode | In Python, all the dictionary keys must be hashable, so if you use any unhashable key type while adding a key into the dictionary, you will encounter TypeError: unhashable type: ‘dict’ TypeError: unhashable type: ‘dict’ Dictionary in Python is an unordered collection to *store data values in key:value pairs….

Read More