DeveloperBreeze

Calculate Sum of Numbers in a List Using sum() Function

numbers = [1, 2, 3, 4, 5]
sum_of_numbers = sum(numbers)
print('Sum of Numbers:', sum_of_numbers)

Continue Reading

Handpicked posts just for you — based on your current read.

Discussion 0

Please sign in to join the discussion.

No comments yet. Start the discussion!