using nested decision statements the decision-making process often happens in levels for examplewhen you go to the restaurant and choose eggs for breakfastyou have made first-level decision now the server asks you what type of toast you want with your eggs the server wouldn' ask this question if you had ordered pancakesso the selection of toast becomes second-level decision when the breakfast arrivesyou decide whether you want to use jelly on your toast this is third-level decision if you had selected kind of toast that doesn' work well with jellyyou might not have had to make this decision at all this process of making decisions in levelswith each level reliant on the decision made at the previous levelis called nesting developers often use nesting techniques to create applications that can make complex decisions based on various inputs the following sections describe several kinds of nesting you can use within python to make complex decisions using multiple if or if else statements the most commonly used multiple selection technique is combination of if and if else statements this form of selection is often called selection tree because of its resemblance to the branches of tree in this caseyou follow particular path to obtain desired result the example in this section also appears with the downloadable source code as multipleifelse py open python file window you see an editor where you can type the example code type the following code into the window -pressing enter after each lineone int(input("type number between and ")two int(input("type number between and ")if (one > and (one < )if (two > and (two < )print("your secret number is"one twoelseprint("incorrect second value!"elseprint("incorrect first value!"this is simply an extension of the ifelse py example you see in the "using the if else statement in an applicationsection of the howevernotice that the indentation is different the second if else statement is indented within the first if else statement the indentation tells python that this is second-level statement