""" Write a function grade_B that takes one parameter - a list of grades (a list of integers between 0 and 100). The function should return the number of students who received a grade of B (grades between 80 and 89). Write a main function that first randomly generates the number of students in two courses. For each course, the program should generate the list of grades using this function Links to an external site.. The program then finds the number of B grades in each course and determines which course has more B grades. Example: grades1=[45, 67, 89, 80, 70] grades2=[100, 34, 81, 82, 83, 34, 23, 89] Output: There are 2 B grades in course 1 There are 4 B grades in course 2 course 2 has more B grades than course 1 """ import random def grade_B(list): count=0 for item in list: if(item>=80 and item<=89): count+=1 return count def make_list(size, min_limit, max_limit): my_list=[] for i in range(size): n=random.randint(min_limit, max_limit) my_list.append(n) return my_list def main(): grades1=make_list(10,0,100) grades2=make_list(8,0,100) print("grades1",grades1) print("grades2",grades2) count1=grade_B(grades1) count2=grade_B(grades2) print("count1",count1) print("count2",count2) if(count1>count2): print("grades1 have more B's") elif(count1