Functional

Pages in this section

  • Lambda functions
    Last edited: 2023-11-11

    These are Anonymous Functions that take multiple inputs and evaluate the output in a single statement. It has the following syntax:

    lambda arguments : expression
    
    Syntactic Sugar

    A lambda expression creates a function object just like the def statement.