(continued from previous page bye bye number is even will not be printed as 'ifcondition is not satisfied ''explanation listing an if statement is made up of the 'ifkeywordfollowed by the condition and colon (:at the endas shown in line alsothe line is indented which means it will execute only if the condition in line is satisfied (see listing for better understanding of indentationlast print statement has no indentationtherefore it is not the part of the 'ifstatement and will execute all the time you can check it by changing the value of 'xto in line three quotes (in line and are used to comment more than one lines in the codee 'results here 'is used at the end of the code (see line - which contain the results of the code warningnote thatthe comments inside the 'is known as 'docstrings'which are displayed when help command is used thereforedo not use it for multiline comments it is better to use at each line multiple if statements listing checks the even and odd numbers using 'ifstatements since there are two conditions (even and odd)therefore two 'ifstatements are used to check the conditions as shown in listing finally output is shown as the comments at the end of the code listing multiple if statements #ifonly pyuses multiple if to check even and odd nubmer "inputcommand takes input as string int is used for type conversion =int(input('enter the number:\ ')#\ is used for tab in the output is used to calculate remainder if % == print ("number is even"if % != print ("number is odd" ''output- st runenter the numbernumber is even output- nd runenter the numbernumber is odd '' explanation listing this code demonstrate that one can use multiple 'ifconditions in codes in this codevalue of 'xis taken from using line in the code 'intis used in this line because 'inputcommand takes the value as string and it should be changed to integer value for mathematical operations on it if-else as we know that number can not be even and odd at the same time in such cases we can use 'if-elsestatement control structure