flow control boolean values comparison operators boolean operators binary boolean operators the not operator mixing boolean and comparison operators elements of flow control conditions blocks of code program execution flow control statements if statements else statements elif statements while loop statements break statements continue statements for loops and the range(function importing modules from import statements ending program early with the sys exit(function short programguess the number short programrockpaperscissors summary practice questions functions def statements with parameters definecallpassargumentparameter return values and return statements the none value keyword arguments and the print(function the call stack local and global scope local variables cannot be used in the global scope local scopes cannot use variables in other local scopes global variables can be read from local scope local and global variables with the same name the global statement exception handling short programzigzag summary practice questions contents in detail