how to loop in array and add the result in python code example
Example: append in a for loop python
a=[]
for i in range(5):
a.append(i)
a # the list with the new items.
a=[]
for i in range(5):
a.append(i)
a # the list with the new items.