QuestionQ53

VerifiedMiscellaneous (List Comprehensions, Lambdas, Closures, I/O)

Assuming the following code has executed successfully, select the expressions that evaluate to True

Question Image

Choose two
Explanation

a and b are distinct function objects returned by separate calls to f, so a is not None and a != b. Their calls return 0.5 and 0.75, respectively, rather than 4.

Community Discussion

No comments yet. Be the first to start the discussion!