What is the expected output of the following code?
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
Answer: C
Latest PCAP-31-03 Practice Questions with 109 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments