fruits = ["apple", "banana", "cherry"]
for fruit in fruits:
print(fruit)
apple
banana
cherry
fruit
` takes on each value in the list `fruits
` in turn, and the `print()
` function is used to output the value of the variable `fruit
` to the console.