Vidyalelo
Python · Q129

Functions in Python

Programming · Python · question 129

Q129

What will be the output of the following Python code? f=lambda x:bool(x%2) print(f(20), f(21))

A.
False True
Answer
B.
False False
C.
True True
D.
True False

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board