A condition lets you execute a block of code only if an expression is true. In Python, if tests a first condition, elif further cases, and else the remaining case. Blocks are delimited by indentation. Only the first block whose condition is true runs.
Example
if note >= 10:
print('passed')
else:
print('failed')