Title Dec 3, 2022 • 1 min read pets = ["dog","cat","snake","rabbit","hamster"] for i in pets: if i == "rabbit": break print(i) dog cat snake