Suppose you want to know if a username exists.
🔻 Many beginners write:
found = False
for user in users:
if user == "Alex":
found = True
break
🟢 Python gives you a simpler solution.
found = "Alex" in users
Less code. More readable. Usually faster to understand.
Whenever Python has a built-in way to express an idea, prefer it.