New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is the key word for anonymous function
3 Answers
+ 3
You mean lambda? Or the name you give to the function? Take a look at this:
my_func = lambda x: x*10
print(my_func(2))
# prints 20
+ 2
lambda.
+ 1
thank you all