this took us on tour of advanced function-related conceptsrecursive functionsfunction annotationslambda expression functionsfunctional tools such as mapfilterand reduceand general function design ideas the next continues the advanced topics motif with look at generators and reprisal of iterables and list comprehensions--tools that are just as related to functional programming as to looping statements before you move onthoughmake sure you've mastered the concepts covered here by working through this quiz test your knowledgequiz how are lambda expressions and def statements related what' the point of using lambda compare and contrast mapfilterand reduce what are function annotationsand how are they used what are recursive functionsand how are they used what are some general design guidelines for coding functions name three or more ways that functions can communicate results to caller test your knowledgeanswers both lambda and def create function objects to be called later because lambda is an expressionthoughit returns function object instead of assigning it to nameand it can be used to nest function definition in places where def will not work syntactically lambda allows for only single implicit return value expressionthoughbecause it does not support block of statementsit is not ideal for larger functions lambdas allow us to "inlinesmall units of executable codedefer its executionand provide it with state in the form of default arguments and enclosing scope variables using lambda is never requiredyou can always code def instead and reference the function by name lambdas come in handythoughto embed small pieces of deferred code that are unlikely to be used elsewhere in program they commonly appear in callback-based programs such as guisand they have natural affinity with functional tools like map and filter that expect processing function these three built-in functions all apply another function to items in sequence (or other iterableobject and collect results map passes each item to the function and collects all resultsfilter collects items for which the function returns true valueand reduce computes single value by applying the function to an accumulator advanced function topics