Run »
fruits = ["apple", "banana", "cherry"] for x in fruits: print(x) if x == "banana": break
apple
banana