Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop

#loop
a=[1,2, 3, 4, 5, 6]
sum=0
for val in a :
    sum=sum+val
    print("the sum is", sum)
Source by localhost #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
8+1 =