Question

 

What are Lambda functions? Write a Lambda function to print the average of two numbers. Also, write the program to print the average of two numbers, without using Lambda functions.

17 Feb 2026
Answer :
Word Count : 366
A lambda function in Python is a small anonymous function, defined using the `lambda` keyword, which can have any number of input parameters but can only have one expression. The syntax for a lambda function is: ```python lambda arguments: expression ``` Lambda functions are primarily used for short-term operations, often as arguments to higher-order functions like `map()`, `filter()`, and `reduce()`, where a full function definition would be unnecessarily verbose. Since they are restricted to a single expression, they are concise and
__________ _____ ___ _______ ____ _____ _________ _______.
_____ _______ __________ _______ _________ _________ __________ ____ ___ ________ _______ ________.
______ _____ ___ ____ __________.
__________ _________ _______ _______ __________ _________ ___ ________ __________ ______.
___ ______ ___ __________ _______ ___.
________ _________ _______ _________ ____.
__________ _________ __________ _________ ________ ___ __________ _______ ________ ___ _______ _______.
__________ ____ _______ __________ ____ ____ ________ _____ ____ _____ ______.
____ ___ ______ ___ ____ _____ __________ _______ ______ __________.
________ ________ ________ ____ __________ ______ ___ _________ ________ _____ __________ ____.
________ _____ _______ ______ _________ _________ ________ ___ _______ ____.
______ ________ ______ ____ ____.
_______ ____ _________ _____ _________ ___ _________ _________.
___ ____ _________ ___ ________ ______ _______ _______.
________ _________ ________ _______ ________ _______ _____ _____ _______ _____ ___ _______.
___ ________ ______ ________ ___ ______.
____ __________ _______ ________ ______ _________.
____ ________ ___ __________ ________.
________ ______ _______ _________ ______ __________ ______ ________.
__________ ___ _________ _________ ____ ________ _____ _____ _________ _____ _____ ________.
_________ _____ ___ ___ _________ _____ _________ __________ ___ _________.
_________ _______ ___ _____ ______ _________ ______ _____ _____.
______ _________ _____ ___ _______ ______ ___ ___ ______ ________ _________ ___.
_______ ______ ________ ___ ___ _________.
__________ ____ _______ ______ ___ ________ ____.
_______ ____ _______ __________ _______ _________.
_______ _________ ____ __________ __________ ________ ____.
_______ __________ __________ __________ ____ _________ _________ _____ _________.
_______ _____ _______ ________ _________ _______ _________ ____ _________ _______.
__________ _______ ____ _______ __________ ______ ___ _________ _______.
________ ______ _________ _________ ____ ____ __________ ____ ___ _______.
_________ _______ ____ ______ _____ ___.
_________ ________ _________ _________ _________ __________ ______.
_____ ____ ______ __________ _______ ________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCS 94 2026 -  What are Lambda functions? Write a Lambda function to print | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→