← Back to the lesson: Lists
Loop Through List
The exercise
Given: fruits = ["apple", "banana", "cherry"]
Print each fruit on a new line using a for loop.
Starter code
fruits = ["apple", "banana", "cherry"]
# Print each fruit / Выведите каждый фрукт
Write the code in the browser and run it — no installation needed.