You are viewing a single comment's thread. Return to all comments →
number_of_grades, number_of_students = map(int, (input().split()))
for marks in tuple(zip(*list(tuple(map(float, input().split())) for _ in range(number_of_students)))): print(sum(marks) / len(marks))
Seems like cookies are disabled on this browser, please enable them to open this website
Zipped!
You are viewing a single comment's thread. Return to all comments →
number_of_grades, number_of_students = map(int, (input().split()))
for marks in tuple(zip(*list(tuple(map(float, input().split())) for _ in range(number_of_students)))): print(sum(marks) / len(marks))