Answers for "sum up a list in python"

18

python sum of list

>>> list = [1, 2, 3]
>>> sum(list)
6
Posted by: Guest on January-27-2020
0

sum up list python

b = [1,2,3]
a = sum(b)
# 6
Posted by: Guest on October-01-2020

Code answers related to "sum up a list in python"

Python Answers by Framework

Browse Popular Code Answers by Language