code -indicates the type of data that is to replace the field specifier it can be one of the following% % % % % % % string decimal or integer same as % floating-point character unsigned integer octal integer % % % % % % %hexadecimal integer same as % but uppercase scientific notation uppercase version of % same as % uppercase version of % prints literal control structures to this pointwe have reviewed statements that are executed in sequenceone after the other sometimeshoweverit may be necessary to change the flow of control and only execute statement or block of statements if some condition is met or to execute the same statement or block of statements multiple times selection constructs selection statements allow you to choose whether to execute statement or block of statements based on the result of logical expression python provides several forms of the if construct for making decisions and selecting certain statements for execution the if construct can take several forms the if-then form is used to select statement or block of statements if and only if some condition is met consider the following exampleif value print"the value is negative in which the print(function is executed if value is negativeotherwisethe statement is skipped the if-else statement the if-else form of the if construct is used to execute block of statements if condition is true and different block of statements if the condition is false this form is identified by the inclusion of an else clause in the following exampleif value print"the value is negative elseprint"the value is positive value is tested to determine if it is negative or positive and an appropriate message is displayed