Yep it seems like you used the if statement correctly. Here's an example for you with if, elif, and else.
if expression:
statement
elif another expression:
statement
else:
statement
The statement in the if clause only evaluates if true and the statement in elif only evaluates if the if clause is false and the elif is true. Else covers all of the possibilities where the if and elif are false.
Yep it seems like you used the if statement correctly. Here's an example for you with if, elif, and else.
The statement in the if clause only evaluates if true and the statement in elif only evaluates if the if clause is false and the elif is true. Else covers all of the possibilities where the if and elif are false.