I need to create a function that removes keys if their values are duplicates in a dictionary. For example...
remove_dups({1:4, 2:4, 3:2})
{3:2}
remove dups({1:2, 2:5})
{1:2, 2:5}
I have no idea how to do this and where to start, please help! Need to know how to do this without list comprehensions or importing.