Lambda ExpressionsComprehensionsMagic Methods (Dunders)The Iterator ProtocolThe iter() Function and __iter__() MethodDictionaries and IteratorsExamples of IteratorsRange versus a ListFunctional Programming: the map() FunctionFunctional Programming: the filter() FunctionCombining the filter() and map() FunctionsThe reduce() FunctionWhat is a Pipe?Working with GeneratorsThe Yield KeywordGenerators and ComprehensionsA Generator Without a LoopMiscellaneous Examples of GeneratorsGenerate Squares of NumbersGenerate an Infinite List of IntegersFind Prime NumbersClosuresDecoratorsExamples of DecoratorsImporting Custom ModulesCompiled ModulesClasses, Functions, and Methods Function Annotations Function Annotations (1)Function Annotations (2)Function Annotations (3)Function Annotations (4)Function Annotations (5)Summary