NIELIT O Level Exam

What is the correct syntax of a lambda function?

What is the correct syntax of a lambda function?

लैम्डा फंक्शन का सही सिंटैक्स क्या है?

A. lambda x => x+1

B. lambda(x): x+1

C. lambda x: x+1

D. def lambda(x): x+1




Correct Answer is :

C. lambda x: x+1



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad