Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add elements in a list together python

list = [1, 2, 3, 4, 5]
sum_list = sum(list)

print(sum_list)
 
PREVIOUS NEXT
Tagged: #add #elements #list #python
ADD COMMENT
Topic
Name
4+7 =