You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if statement: Executes a block of code if the condition is true.
ifcondition:
# code to execute if condition is true
elif statement: Stands for "else if" and allows multiple conditions to be checked sequentially after an initial if statement.
ifcondition1:
# code to execute if condition1 is trueelifcondition2:
# code to execute if condition2 is true
else statement: Executes a block of code if none of the preceding conditions are true.
ifcondition1:
# code to execute if condition1 is trueelifcondition2:
# code to execute if condition2 is trueelse:
# code to execute if none of the above conditions are true