Beginner Python
Q19 / 101

What is a lambda function in Python?

Correct! Well done.

Incorrect.

The correct answer is C) An anonymous function defined with the lambda keyword

C

Correct Answer

An anonymous function defined with the lambda keyword

Explanation

lambda x: x * 2 creates an anonymous function. Lambdas are limited to a single expression.

Progress
19/101