Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find sum numbers in a list in python

list = [5, 8, 7, 2, 9, 13, 27]
a = 0

for i in list:
    a += i

print(a)
 
PREVIOUS NEXT
Tagged: #find #sum #numbers #list #python
ADD COMMENT
Topic
Name
7+3 =