statement and jumps back up to the start of the loopadvancing the loop counter as necessary here is an example the code on the right accomplishes the same thing as the code on the left for in lif not in foundcount+= if [ ]=' 'count += for in lif in foundcontinue count+= if [ ]=' 'count += the continue statement is something you can certainly do withoutbut you may see it from time to time and it occasionally can make for simpler code eval and exec the eval and exec functions allow program to execute python code while the program is running the eval function is used for simple expressionswhile exec can execute arbitrarily long blocks of code eval we have seen eval many times before with input statements one nice thing about using eval with an input statement is that the user need not just enter number they can enter an expression and python will compute it for instancesay we have the followingnum eval(input'enter number')the user can enter *( + and python will compute that expression you can even use variables in the expression here is an example of eval in action def countif(lcondition)return len([ for in if eval(condition)]this behaves like spreadsheet countif function it counts how many items in list satisfy certain condition what eval does for us here is allows the condition to be specified by the user as string for instancecountif( ,' > 'will return how many items in are greater than here is another common spreadsheet functiondef sumif(lcondition)return sum([ for in if eval(condition)]exec plethe exec function takes string consisting of python code and executes it here is an exams """ = for in range( )print( * )""exec(