Problem Description
Write Python Program to Multiply All the Items in a Dictionary.CODING ARENA
d={'A':10,'B':10,'C':239}
tot=1
for i in d:
tot=tot*d[i]
print(tot)
Test Case 1
Input (stdin)10 10 239
Expected Output23900
Test Case 2
Input (stdin)0
Expected Output0
No comments:
Post a Comment