Python Frozenset () для словаря

# random dictionary
animal = {"Dog": 20, "Cat": 23, "Leopard": 2, "Tiger":1}

set = frozenset(animal)
print('The frozen set is:', set)
Outrageous Ostrich