(continued from previous page {:ddecimal print("{: }format(xzfill( ) number xtotal places {:ddecimal print("{: }format(xzfill( ) number xtotal places control structure in this sectionvarious simple python codes are shown to explain the control structures available in python if-else 'if-elsestatements are used to define different actions for different conditions symbols for such conditions are given in table which can be used as shown in listing three examples are shown in this section for three types of statements ifif-else and if-elif-else table symbols for conditions condition symbol equal =not equal !greater smaller greater or equal >smaller or equal < if statement in this sectiononly if statement is used to check the even and odd number listing checks whether the number stored in variable 'xis even or not listing if statement #ifex py brackets are not necessary (used for clarity of the codeif ( % = )sign gives the value of the remainder % #if above condition is trueonly then following line will execute print('number is even ' #this line will execute always as it is not inside 'ifprint('bye bye' ''number is even bye bye '' ''if you put then output will be(continues on next page control structure