create array in python with for code example
Example 1: for element in array python
itemlist = []
for j in range(len(myarray)):
item = myarray[j]
itemlist.append(item)
Example 2: python array
array = ["1st", "2nd", "3rd"];
#prints: ['1st', '2nd', '3rd']