speed = {'jan': 47, 'feb': 52, 'march': 47, 'April': 44, 'May': 52, 'June': 53,
'july': 54, 'Aug': 44, 'Sept': 54}
print("Dictionary's values - ", speed.values())
speed_list = list()
# iterate dict values
for val in speed.values():
# check if value not present in a list
if val not in speed_list:
speed_list.append(val)
print("unique list", speed_list)
Solution:
need an explanation for this answer? contact us directly to get an explanation for this answer