Fill in the blanks to create a lambda function that returns the square of its argument, and call it for the number 8. a = (

7/12/2018 9:56:54 AM

Patrick Mita

4 Answers

New Answer


a = lambda n: n**2 print(a(8))


Paul Grasser You can' t use return in lambdas


Mert Yazici you are supposed to use a as the name.


a = lambda x: return x*x print(a(8))