+ 1

What is the key word for anonymous function

29th May 2018, 1:34 AM
Pradeep Sedai
Pradeep Sedai - avatar
3 odpowiedzi
+ 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
29th May 2018, 2:03 AM
Pedro Demingos
Pedro Demingos - avatar
+ 2
lambda.
29th May 2018, 4:40 PM
Maninder $ingh
Maninder $ingh - avatar
+ 1
thank you all
30th May 2018, 1:48 PM
Pradeep Sedai
Pradeep Sedai - avatar