How do i calculate the average of students &subjects. Below is my code but only gives average of students and not subjects
values = []
for i in range(0, 3):
name = input("enter the name of the first student: ")
test_1 = int(input("Enter the score on test 1 for the student: "))
test_2 = int(input("Enter the score on test 2 for the student: "))
test_3 = int(input("Enter the score on test 3 for the student: "))
test_4 = int(input("Enter the score on test 4 for the student: "))
values.append((name, (test_1 + test_2 + test_3+test_4) / 4))
for row in values
print(row)`print(row)
print("ENTER EXAM SCORE: ")