在 for 循环中使用 break 语句在 for 循环中使用 break 语句fruits = ["apple", "banana", "cherry"]for x in fruits: print(x) if x == "banana": break