Find errors and rewrite the same after correcting the following code:
d1.value()
The correct method to retrieve all values from a dictionary is values(), not value().
values()
The corrected code is:
d1.values()