notice that the shell continues to indent lines as long as you continue to type code each line you type is part of the current if statement code block when working in the shellyou create block by typing one line of code after another if you press enter twice in row without entering any textthe code block is endedand python executes the entire code block at one time press enter python executes the entire code block you see the output shown in figure - figure - code block can contain mul tiple lines of code -one for each task making multiple comparisons using logical operators so farthe examples have all shown single comparison real life often requires that you make multiple comparisons to account for multiple requirements for examplewhen baking cookiesif the timer has gone off and the edges are brownit' time to take the cookies out of the oven in order to make multiple comparisonsyou create multiple conditions using relational operators and combine them using logical operators (see table - logical operator describes how to combine conditions for exampleyou might say = and = as two conditions for performing one or more tasks the and keyword is logical operator that states that both conditions must be true one of the most common uses for making multiple comparisons to determine when value is within certain range in factrange checkingthe act of determining whether data is between two valuesis an important part of making your application secure and user friendly the following steps help