Python Programming - Lambda Functions - Discussion
Discussion Forum : Lambda Functions - General Questions (Q.No. 16)
16.
In Python, what does the following code represent?
lambda x: x ** 2
Answer: Option
Explanation:
The lambda function
lambda x: x ** 2
represents a function that squares its input (multiplies it by itself).
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers