"how to check if all values of a dictionary are 0, in python?",all(value == 0 for value in list(your_dict.values()))