# random dictionary animal = {"Dog": 20, "Cat": 23, "Leopard": 2, "Tiger":1} set = frozenset(animal) print('The frozen set is:', set)