You are viewing a single comment's thread. Return to all comments →
simpler..enough for this probelm.
marks = {} for _ in range(int(input())): line = input().split() marks[line[0]] = list(map(float, line[1:])) print('%.2f' %(sum(marks[input()])/3))
Seems like cookies are disabled on this browser, please enable them to open this website
Finding the percentage
You are viewing a single comment's thread. Return to all comments →
simpler..enough for this probelm.