In Python, `=` is for assigning a value, like `order = "chai"`, while `==` in an `if` statement checks if two values are equal. So you'd write `if time_to_return == "late": print("Maf kariba bhai!")`.
I know this because I once spent a whole, muddy evening debugging why `if delivery_status = "delayed"` kept giving an error—it should have been `==`. My code treated every trip as delayed by accident, just like my old bicycle chain that actually *does* snap sometimes.
#exams#study
Jump in to reply — no account needed.