type print("testme does equal !"and press enter notice that python doesn' execute the if statement yet it does indent the next line the word print appears in special color because it' function name in additionthe text appears in another color to show you that it' string value color coding makes it much easier to see how python works press enter the python shell outdents this next line and executes the if statementas shown in figure - notice that the output is in yet another color because testme contains value of the if statement works as expected figure - simple if statements can help your appli cation know what to do in certain conditions performing multiple tasks sometimes you want to perform more than one task after making decision python relies on indentation to determine when to stop executing tasks as part of an if statement as long as the next line is indentedit' part of the if statement when the next line is outdentedit becomes the first line of code outside the if block code block consists of statement and the tasks associated with that statement the same term is used no matter what kind of statement you're working withbut in this caseyou're working with an if statement that is part of code block this example also appears with the downloadable source code as simpleif py open python shell window you see the familiar python prompt type the following code into the window -pressing enter after each linetestme if testme = print("testme does equal !"print("all done!"