Question: Write a program in Python that a teacher might use to get the average of each student's test scores. The program provides the user

Write a program in Python that a teacher might use to get the average of each student's test scores. The

Write a program in Python that a teacher might use to get the average of each student's test scores. The program provides the user to enter the number of students, and also how many test per student. Use a nested for loop The for loop that begins first iterates once for each student. The nested inner loop, iterates once for each test score. Expected Output: Program Output (with input shown in bold) How many students do you have? 3 Enter How many test scores per student? 3 Ertar Student number 1 Test number 1: 100 Enter Test number 21 95 Enter Test number 31 90 Enter The average for student number 1 is: 95.0 Student number 2 Test number 1: 80 Ener Test number 2: 81 Enter Test number 3: 82 Enter The average for student number 2 is: 81.0 Student number 3 Test number 1: 75 (Enter Test number 2: 85 (ter Test number 3: 80 Enter The average for student number 3 iss 80.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

def calculateaveragetestscores numstudents intinputHow many students do you have numtests i... View full answer

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 Computer Network Questions!