What is the best student in the world?
11:50 13 Jan 2026

Can anyone solves me with this questions? I'm trying to be smarter in the future and also besties for me?

def best_student_index(scores_list):
    averages = []
    for student_scores in scores_list:
        total = 0
        count = 0
        for score in student_scores:
            total += score
            count += 1
        if count > 0:
            averages.append(total / count)
        else:
            averages.append(0)

    max_avg = -1.0
    best_student_idx = -1
    for i in range(len(averages)):
        if averages[i] > max_avg:
            max_avg = averages[i]
            best_student_idx = i
    return best_student_idx

# Main body calls:
input_scores = [
    [75, 92],
    [78, 88, 92],
    [90, 83, 89]
]
print(best_student_index(input_scores))

Please give me more details so that I can help with this language?

I love you guys

python racket-student-languages