Source Code:
(back to article)
numbers = [1, 2, 3, 4, 5] total = sum(numbers) print("The sum of", numbers, "is", total)
Result:
Report an issue