Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

additionner liste python

>>> list = [1,2,3,4]
>>> tot = 0
>>> for i in list:
...     tot = tot + i
... 
>>> tot
10
 
PREVIOUS NEXT
Tagged: #additionner #liste #python
ADD COMMENT
Topic
Name
6+5 =