Which of the following is a correct way to create a lambda function?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
lambda x: x + 1
Answer option 2
def lambda(x): x + 1
Answer option 3
lambda(x) { x + 1 }
English