Question: Question 1. (CLO1) (16 marks) Consider you have the data for the following four students: Student Id Name Specialization GPA H0023455 Naila CSF 3.0 H0023456
Question 1. (CLO1) (16 marks) Consider you have the data for the following four students: Student Id Name Specialization GPA H0023455 Naila CSF 3.0 H0023456 Ahmed CSF H0023457 Hassan CSF 3.1 H0023458 Omer CSF 2.3 2.6 1. Create four tuple variables to store the data of four students. [4 marks] 2. Create a list variable mystudents containing four tuples as elements. [4 marks] 3. Iterate through the elements of the mystudents list to calculate and display the average GPA of the all students: [8 marks] Sample run of the program: Average GPa of the students : 2.75 Paste you Answer Here Copy the code and past is her Take a screenshot of the code and the run of the program and paste it here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
