Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 28)
28.
How can you find the sum of all elements in a list in Python?
sum(list)
list.total()
list.sum()
total(list)
Answer: Option
Explanation:
The sum() function is used to find the sum of all elements in a list in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.