Report Bug
Qus : What is the correct syntax of a lambda function?
Qusलैम्डा फंक्शन का सही सिंटैक्स क्या है?

A. lambda x => x+1
B. lambda(x): x+1
C. lambda x: x+1
D. def lambda(x): x+1


Solution
C. lambda x: x+1






Report Bug