You are viewing a single comment's thread. Return to all comments →
if __name__ == "__main__": n, idx = [int(input()), input().split().index("MARKS")] marks = [int(input().split()[idx]) for i in range(n)] print (f"{(sum(marks)/n):.2f}")
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 →