Designing Higher-Order Functions in Python
This course introduces you to advanced aspects of handling functions in Python. You'll learn about storing functions as variables, and dynamic function operations, such as passing and returning functions, and partial application.
Lessons and practices
Storing Functions in Variables
Using Lambda Expressions Instead of Function Pointers
Replace Lambda with Standard Function
Storing and Using Functions with Variables and Lambdas
Implement a Callable Multiplier Class
Modifying filter_list to Return the Filtered List
Quicksort with Higher-Order Functions
Modify List Elements Using a Higher-Order Function
Implementing a Custom Reduce Function
Transform List Elements with a Function
Multiplier Function Factory
Exponentiator Function in Python Using Lambda Expressions
Greeting Generator Function
Generate Custom Divider Functions
Using functools.partial to Create a Squaring Function
Converting Partial Function Calls to Lambda Functions
Creating Custom Greeting Functions Using functools.partial and Lambda
Using functools.partial and Lambda Expressions for Argument Binding
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.