from functools import reduce scores = [3, 3, 80, 3, 1] total = reduce(lambda x, y: x + y, scores) print(total)