conditional execution if % = print(' is even'else print(' is odd'if the remainder when is divided by is then we know that is evenand the program displays message to that effect if the condition is falsethe second set of statements is executed no yes % = print(' is odd'print(' is even'figure if-then-else logic since the condition must either be true or falseexactly one of the alternatives will be executed the alternatives are called branchesbecause they are branches in the flow of execution chained conditionals sometimes there are more than two possibilities and we need more than two branches one way to express computation like that is chained conditionalif yprint(' is less than 'elif yprint(' is greater than 'elseprint(' and are equal'elif is an abbreviation of "else if againexactly one branch will be executed there is no limit on the number of elif statements if there is an else clauseit has to be at the endbut there doesn' have to be one if choice =' 'print('bad guess'elif choice =' 'print('good guess'elif choice =' 'print('closebut not correct'