controlling execution with the pass clause the python language includes something not commonly found in other languagesa second sort of continue clause the pass clause works almost the same way as the continue clause doesexcept that it allows completion of the code in the if code block in which it appears the following steps use an example that is precisely the same as the one found in the previous section"controlling execution with the continue statement,except that it uses pass clause instead this example also appears with the downloadable source code as forpass py open python file window you see an editor in which you can type the example code type the following code into the window -pressing enter after each lineletternum for letter in "howdy!"if letter =" "pass print("encountered wnot processed "print("letter "letternumis "letterletternum+= choose runrun module you see python shell window open the application displays the letter sequence along with the letter numberas shown in figure - howevernotice the effect of the pass clause -the letter isn' processed in additionthe example displays the string that wasn' displayed for the continue clause example the continue clause makes it possible to silently bypass specific elements in sequence and to avoid executing any additional code for that element use the pass clause when you need to perform some sort of post processing on the elementsuch as logging the element in an error logdisplaying message to the useror handling the problem element in some other way the continue and pass clauses both do the same thingbut they're used in distinctly different situations