Each item in a list · in code: For Each Loops
Goes through a list one item at a time. Each lap, it gives you the next item.
fruit.Open it in the editor, press Run, then change it and run it again.
fruits = ["apple", "banana", "cherry"]fruit in fruitsRepeat →
"I like " + fruitback to the top for the next lap
I like appleI like bananaI like cherryfruits = ["apple", "banana", "cherry"]for fruit in fruits: print("I like " + fruit)