by Jeremy Canfield | Updated December 28th, 2018
Let's say you have an array of fruit.
fruits = ["apple", "banana", "orange", "grapes"]
You can loop through the array.
for x in fruits: print(x)
This will print each fruit.
apple banana orange grapes