get all dictionary values python code example
Example 1: if dict.values <= int
all(value == 0 for value in your_dict.values())
Example 2: how to get all the values from the dict in python
a = {1:2 , 2:3 , 3:4}
values = a.values()
all(value == 0 for value in your_dict.values())
a = {1:2 , 2:3 , 3:4}
values = a.values()