Python 3 sum dict.values code example Example: sum all values of a dictionary python sum(dictionary.values())