You are viewing a single comment's thread. Return to all comments →
print(format(functools.reduce(lambda x,y: x+y,student_marks[query_name])/len(student_marks[query_name]),".2f"))
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 →
print(format(functools.reduce(lambda x,y: x+y,student_marks[query_name])/len(student_marks[query_name]),".2f"))