Answers for "py how to get all values form dictionary"

1

if dict.values <= int

all(value == 0 for value in your_dict.values())
Posted by: Guest on December-12-2020
2

how to get all the values from the dict in python

a = {1:2 , 2:3 , 3:4}
values = a.values()
Posted by: Guest on July-21-2020

Code answers related to "py how to get all values form dictionary"

Python Answers by Framework

Browse Popular Code Answers by Language