From f57b48d4ac1418fa2e885255c6b302687e0a51b2 Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Fri, 29 Apr 2022 19:27:27 -0400 Subject: Update wording for or-gotcha tag --- bot/resources/tags/or-gotcha.md | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/resources/tags/or-gotcha.md b/bot/resources/tags/or-gotcha.md index d75a73d78..25ade8620 100644 --- a/bot/resources/tags/or-gotcha.md +++ b/bot/resources/tags/or-gotcha.md @@ -1,5 +1,6 @@ When checking if something is equal to one thing or another, you might think that this is possible: ```py +# Incorrect... if favorite_fruit == 'grapefruit' or 'lemon': print("That's a weird favorite fruit to have.") ``` -- cgit v1.2.3