• + 0 comments

    sum = 0 for mark in student_marks[query_name]: sum += mark avg = sum / (len(student_marks[query_name]))
    print(f'{avg:.2f}')