Typeerror Unhashable Type 'Dict'

TypeError: unhashable type: ‘dict’

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’…
View Post
Sort Dictionary By Value In Python

Sort Dictionary by value in Python

Dictionary in Python is an unordered collection to store data values in key:value pairs. Since Dictionaries are unordered collections, it is not possible to sort the dictionary in Python. Hence some…
View Post