"""
Write a Python program that prints the largest of the values in a dictionary.

You may assume that all the values in the dictionary are either lists or tuples.

Hints:
The sum() function returns the sum of the elements of a list or tuple.
"""

my_dict = {
	"a": [1, 2, 3],
	"b": [4, 0, -4],
	"c": [3, 5, 9],
	"d": [45, 12, 100]
}

max_sum = None

for list_value in my_dict.values():
    list_sum = sum(list_value)
    if max_sum is None:
        max_sum = list_sum
    elif max_sum < list_sum:
        max_sum = list_sum
print(max_sum)

4d9e0e14402ed6d682679c3ad1b213ef754f6eb9
<mask token>

<mask token>
for list_value in my_dict.values():
    list_sum = sum(list_value)
    if max_sum is None:
        max_sum = list_sum
    elif max_sum < list_sum:
        max_sum = list_sum
print(max_sum)

<mask token>
my_dict = {'a': [1, 2, 3], 'b': [4, 0, -4], 'c': [3, 5, 9], 'd': [45, 12, 100]}
max_sum = None
for list_value in my_dict.values():
    list_sum = sum(list_value)
    if max_sum is None:
        max_sum = list_sum
    elif max_sum < list_sum:
        max_sum = list_sum
print(max_sum)

"""
Write a Python program that prints the largest of the values in a dictionary.

You may assume that all the values in the dictionary are either lists or tuples.

Hints:
The sum() function returns the sum of the elements of a list or tuple.
"""

my_dict = {
	"a": [1, 2, 3],
	"b": [4, 0, -4],
	"c": [3, 5, 9],
	"d": [45, 12, 100]
}

max_sum = None

for list_value in my_dict.values():
    list_sum = sum(list_value)
    if max_sum is None:
        max_sum = list_sum
    elif max_sum < list_sum:
        max_sum = list_sum
print(max_sum)
