four more control flow tools besides the while statement just introducedpython knows the usual control flow statements known from other languageswith some twists if statements perhaps the most well-known statement type is the if statement for examplex int(input("please enter an integer")please enter an integer if print('negative changed to zero'elif = print('zero'elif = print('single'elseprint('more'more there can be zero or more elif partsand the else part is optional the keyword 'elifis short for 'else if'and is useful to avoid excessive indentation an if elif elif sequence is substitute for the switch or case statements found in other languages for statements the for statement in python differs bit from what you may be used to in or pascal rather than always iterating over an arithmetic progression of numbers (like in pascal)or giving the user the ability to define both the iteration step and halting condition (as )python' for statement iterates over the items of any sequence ( list or string)in the order that they appear in the sequence for example (no pun intended)measure some stringswords ['cat''window''defenestrate'for in wordsprint(wlen( )cat window defenestrate