diff options
author | 2025-09-05 18:37:51 -0400 | |
---|---|---|
committer | 2025-09-05 18:37:51 -0400 | |
commit | 43b18c68d859b644eef304f3867c22b205d2346c (patch) | |
tree | 57895834d731105fd859deed4ef757ab605066b1 | |
parent | Bump actions/checkout from 4 to 5 (#3369) (diff) |
A list is a better expression of the intent
-rw-r--r-- | bot/resources/tags/or-gotcha.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/or-gotcha.md b/bot/resources/tags/or-gotcha.md index 88944f3a8..86045c966 100644 --- a/bot/resources/tags/or-gotcha.md +++ b/bot/resources/tags/or-gotcha.md @@ -17,6 +17,6 @@ if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon': print("That's a weird favorite fruit to have.") # ...or like this. -if favorite_fruit in ('grapefruit', 'lemon'): +if favorite_fruit in ['grapefruit', 'lemon']: print("That's a weird favorite fruit to have.") ``` |