I have a dictionary d = {1:-0.3246, 2:-0.9185, 3:-3985, ...}.
d = {1:-0.3246, 2:-0.9185, 3:-3985, ...}
How do I extract all of the values of d into a list l?
d
l
For Python 3, you need:
list_of_dict_values = list(dict_name.values())