The essentials
An if statement executes a block when a condition is true. An else block executes when the condition is false.
In Python, indentation identifies which statements belong to a block.
Worked example
score = 65
if score >= 60:
result = "Pass"
else:
result = "Try again"
The result is "Pass".