subject

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.33
def problem2(grades, name):
output = ""

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
Which task should happen during the planning stage of a project
Answers: 2
You know the right answer?
You have a list of strings which contain student record. Each string contains the student's name, an...
Questions
question
Mathematics, 11.12.2020 01:00
question
Mathematics, 11.12.2020 01:00
question
Mathematics, 11.12.2020 01:00
question
Mathematics, 11.12.2020 01:00
question
Mathematics, 11.12.2020 01:00
question
Computers and Technology, 11.12.2020 01:00
Questions on the website: 13722363