Python

FOLLOW ME ON SOCIALS

‘dict_items’ object has no attribute ‘sort’

The error message "dict object has no attribute 'sort'" in Python arises when you attempt to use the sort() method on a dictionary. Dictionaries in Python are collections of key-value pairs

By Seifeur Guizeni 3 Min Read