Question: #Question 1 def dictionaryUpdate (inputDict, threshold): Update the dictionary values so the max value is the threshold Check all of the dictionary values and

 #Question 1 def dictionaryUpdate (inputDict, threshold): "" "Update the dictionary values

#Question 1 def dictionaryUpdate (inputDict, threshold): "" "Update the dictionary values so the max value is the threshold Check all of the dictionary values and if any of them are greater than threshold value, replace the current value with the threshold value Arguments: the inputDict: a dictionary with keys that are people's names and that are integers representing how many extra credit points they earned values nave threshold: an integer Returns: The updated dictionary >>>dictionaryUpdate('susan':10, 'alfredo' 12, 'monica':9, 11) 'susan':10, 'alfredo' 11, 'monica':9) return False

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 Databases Questions!