You are viewing a single comment's thread. Return to all comments →
from collections import namedtuple n, marksheet = int(input()),namedtuple('student', input().split()) entry = [marksheet(*input().split()) for _ in range(n)] print(sum(int(e.MARKS) for e in entry)/n)
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 →