Python If...Else
Conditional statements.
Examples
Elif
elif says 'if the previous conditions were not true, then try this condition'.
a = 33
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")Test Your Knowledge
Python Quiz
No quiz available for this topic yet.