Question: #Write a function called accumDict, which takes a dictionary as input and returns the total of all the values Use the code below to test

#Write a function called accumDict, which takes a dictionary as input and returns the total of all the values Use the code below to test your function. #d = {'half':5,'league':7,'major':5, 'minor':10} #print(accumDict(d)) #If your function is written correctly, the value 27 is displayed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!