Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 15 Topic 2 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 15 Topic 2 Discussion

PCAP-31-03 Exam Topic 2 Question 15 Discussion:
Question #: 15
Topic #: 2

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


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.