list all values of dictionary python code example
Example 1: list of dict values
list(d.values())
Example 2: how to get all the values from the dict in python
a = {1:2 , 2:3 , 3:4}
values = a.values()
list(d.values())
a = {1:2 , 2:3 , 3:4}
values = a.values()