Collections.namedtuple()

  • + 0 comments

    total_students, columns = int(input()), input().split() marks = sum(int(input().split()[columns.index('MARKS')]) for _ in range(total_students)) print(f"{marks / total_students:.2f}")