# Sample dictionary with numeric values
my_dict = {
"a": 10,
"b": 20,
"c": 30
}
# Sum of all values
total = sum(my_dict.values())
# Print the result
print("Sum of all items in the dictionary:", total)
Output:

About CSE
Sora Blogging Tips is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of sora blogging tips is to provide the best quality blogger templates.

No comments:
Post a Comment