Examveda

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

A. False True

B. False False

C. True True

D. True False

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python