Conditions run a block depending on the result of a test, using if, elif and else. Python delimits blocks with indentation and the : character. Branches are evaluated in order and only the first one whose condition is true is executed.
Example
if note >= 10:
print('passed')
else:
print('failed')