You are viewing a single comment's thread. Return to all comments →
from collections import namedtuple lines_count, Student = int(input()), namedtuple('Student', input()) print(sum([int(Student(*input().split()).MARKS) for _ in range(lines_count)]) / lines_count)
Seems like cookies are disabled on this browser, please enable them to open this website
Collections.namedtuple()
You are viewing a single comment's thread. Return to all comments →