1 In reality, logging is important.
2 def handle_request ( request ): logger . info ( 'Handling request %s ' , request ) # handle request here result = 'result' logger . info ( 'Return r..
3 def complex_algorithm ( items ): for i , item in enumerate ( items ): # do some complex algorithm computation logger . debug ( ' %s iteration, item=..