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

What is the expected output of the following code?

def foo(x,y,z):

return x(y) - x(z)

print{f00(lambda x: x % 2, 2, 1) )


A.

1


B.

0


C.

-1


D.

an exception is raised


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.