+ 1
Fill in the blanks to create a lambda function that returns the square of its argument, and call it for the number 8. a = (
ssss
13 Antworten
+ 9
a= (lambda x: x*x) (8)
+ 3
a = lambda n: n**2
print(a(8))
+ 3
Mert Yazici you are supposed to use a as the name.
+ 2
Paul Grasser You can' t use return in lambdas
+ 1
Fill in the blanks to create a lambda function that returns the square of its argument, and call it for the number 8.
Ans: (lambda x: x*x) (8)
lambda :
+ 1
range(8)
+ 1
a= (lambda x: x*x)
0
can be less math in it and more explanations?ty
0
natawut punpim
0
a = (lambda x: x*x) (8)
0
print(8)
- 1
question : Fill in the blanks to create a lambda function that returns the square of its argument,
and call it for the number 8.
answer : a = ( lambda x: x*x ) (8)..
- 2
a = lambda x: return x*x
print(a(8))