Branch code execution with the if…elif…else statement in Python Use the if statement Boolean expressions with comparison and logic operators to express decision logic.