-
Beta Was this translation helpful? Give feedback.
Answered by
LostLuma
Dec 11, 2022
Replies: 1 comment 1 reply
-
Hello, you're probably looking to use an |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xKotelek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, you're probably looking to use an
elif
statement instead of several ifs in a row, as it allows only executing the finalelse
block if none of theif
conditions were met. See the Python tutorial and Python documentation for more information.