break immediately exits the loop: python for i in range(10): if i == 5: break print(i) Output: , , , , . When i is , break exits the loop before printing.
Use break to exit when you've found what you're looking for: python for name in names: if name == "Alice": print("Found Alice!") break Without break, you'd check every name even after finding Alice. break makes loops more efficient.