You are viewing a single comment's thread. Return to all comments →
avg = [sum(value)/len(value) for key,value in student_marks.items() if key==query_name][0] avg = f"{avg:.2f}" print(avg)
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 →