Python réduit la fonction à la somme du tableau

from functools import reduce

scores = [3, 3, 80, 3, 1]
total = reduce(lambda x, y: x + y, scores)
print(total)
Marawan Mamdouh