You are viewing a single comment's thread. Return to all comments →
that was too hard
from collections import namedtuple students_num ,total ,student= int(input()) ,0 ,namedtuple('student', ",".join(input().split())) print(sum(int(student(*[a for a in input().split()]).MARKS) for a in range(students_num))/students_num)
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 →
that was too hard