You are on page 1of 6

Return Value

Return Statement
• Return statement is used to return a value from the function.
• It is also used to return from a function
• A function may or may not return a value.
• If it does not return a value , we simply write return with no
arguments
Write a program to find minimum of two
numbers?
Returning Multiple values.
• It is possible to return multiple values in python
Anonymous functions
• The anonymous functions are the functions created using the lambda
keyword.
• They are not defined by def keyword.
• We can pass any no of arguments to lambda functions.
Recursive function
• Recursion is the process of a function calls the same function itself.

You might also like