0

create a lambda function that returns the square of its argument.

create a lambda function that returns the square of its argument, and call it for the number 8. How can I do this?

1st May 2021, 1:25 PM
sticky
sticky - avatar
2 Respostas
0
Hi! you should go to the code pad, select a language, go to the code creation window, and start writing code there. follow the instructions: If you want to run a code on Sololearn... Then, ➡️ Go to the Code Playground section (you can find it here : https://code.sololearn.com) and click on the + icon at the bottom right corner. ➡️ Then select language and write your code and save it. ➡️ Then click on Run and your Code will get executed.
1st May 2021, 1:33 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Lambdas Fill in the blanks to create a lambda function that returns the square of its argument, and call it for the number 8. a = (lambda x : x*x) (8)
9th Aug 2022, 1:29 PM
Meysam Abolfazli
Meysam Abolfazli - avatar