Question: Given the code below: def irequency (thelist): counters = i for item in thelist: if item counters: counters 1=1 else: counters? 1+ return couters grades
Given the code below: def irequency (thelist): counters = i for item in thelist: if item counters: counters 1=1 else: counters? 1+ return couters grades [95,96,100,85,95,90,95,100,100] print (frequency (qrades)) Fill in the blanks in the code above so that the resulting output looks as follows: (95:3, 96: 1, 100:3, 85:1, 90: 1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
