array pythom code example
Example 1: array python
#create array
list = [1, 2, 3, 4, 5]
#loop through an array
for i in list:
print(i)
Example 2: arrays python
array = [1, 2, 3, 4]
array.append(5)
for i in array:
print(i)
#create array
list = [1, 2, 3, 4, 5]
#loop through an array
for i in list:
print(i)
array = [1, 2, 3, 4]
array.append(5)
for i in array:
print(i)