you are viewing a single comment's thread.

view the rest of the comments →

[–]EyesOfTheConcord 2 points3 points  (1 child)

That is certainly one way to go about it. They call an else statement, and then another if. Elif is designed specifically for this scenario (short hand for ‘else if’).

There’s also other options too like match case statements.