PYTHON 3 def get_graded(infolist): “”” param: infolist – a list…

Question Answered step-by-step PYTHON 3 def get_graded(infolist): “”” param: infolist – a list… PYTHON 3def get_graded(infolist):    “””    param: infolist – a list that contains dictionaries    Each dictionary in the infolist is supposed to have    the following string keys:    – category – the name of each grade category (string)    – weight – the percentage weight of the category (float)    – grades – a list of numeric grades for each assignment    If no grades are stored for a category, the “grades”    item will store an empty list.    return:    The function returns a new (nested) list, which contains    the extracted grades for each category.    If the input is an empty list, the function returns    an empty list.    “”” Computer Science Engineering & Technology Python Programming Share QuestionEmailCopy link Comments (0)