The elif condition

x = 75: if x >= 90 → A, elif x >= 70 → B, else → C = B

You can also choose a level by clicking its number.

About the course

Description
Which branch of an if – elif – else statement runs (the first true condition wins)
More information
Short programs in Python – what they calculate and what they print.
Sample question
x = 75: if x >= 90 → A, elif x >= 70 → B, else → C = B
Author
Jiří Preisler
Version
1.0