Collections.namedtuple()

  • + 0 comments
    count,Student=int(input()),namedtuple('Student',input().split())
    total_marks=0
    for _ in range(count):
            st=Student(*input().split())
            total_marks+=int(st.MARKS)
    print(total_marks/count)