#Python program to find the sum of all items in a dictionary
sum_d={'a':10,'b':20}
# sum=0
# for val in sum_d.values():
#     # print(val)
#     sum=sum+val
# print(sum)

# s=0
# for i in sum_d:
#     print(sum_d[i])
#     s=s+sum_d[i]
# print(s)