You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': n, x = map(int, input().split()) grades_list = [tuple(map(float, input().split())) for subjects in range(x)] zip_students = zip(*grades_list) zip_list = list(zip_students) avg_list = [ sum(student)/len(student) for student in zip_list] print(*map(lambda x: f'{x:.1f}', avg_list), sep='\n')
Seems like cookies are disabled on this browser, please enable them to open this website
Zipped!
You are viewing a single comment's thread. Return to all comments →