Question: Question 1 : 1 0 marks Given the below tuple that includes three records: my _ tuple = ( A , 1 8

Question 1: 10 marks
Given the below tuple that includes three records: my_tuple=("A",18,16,"B",12,8,"C",10,7)
Each record is composed of the student's name and two grades. You are asked to:
Create a list which should be equal to the list of the given tuple.
In a loop and using this list:
calculate the average grade for each student.
append the name along and the average grade for each of the students to a new list.
Display the result as shown below.
Expected Output:
['A',17.0,'B',10.0,'C',8.5]
 Question 1: 10 marks Given the below tuple that includes three

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!