Master Computers and Technology with Fun Quizzes & Brain Teasers!
You have a list of strings which contain student record. Each string contains the student's name, and their grades in Maths, Physics and Chemistry. The grades can be floating values. These values (names and grades) are separated by comma. You are required to save the record in a dictionary data type. The user then enters a student's name. Output the average percentage marks obtained by that student, correct to two decimal places.Example:input: grades = ["Jake, 99, 70, 50", "Dennis, 100, 100, 98"] name = "Dennis"output: "The average grade of Dennis is 99.33def problem2(grades, name):output = ""