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?
2 ответов
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.
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)