range over the list python code example
Example: for element in array python
itemlist = []
for j in range(len(myarray)):
item = myarray[j]
itemlist.append(item)
itemlist = []
for j in range(len(myarray)):
item = myarray[j]
itemlist.append(item)