A two-parameter lambda function raising its first parameter to the power of the second parameter should be declared as:

A two-parameter lambda function raising its first parameter to the power of the second parameter should be declared as:
A . lambda (x, y) = x ** y
B . lambda (x, y): x ** y
C . def lambda (x, y): return x ** y
D . lambda x, y: x ** y

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments