1.

What is the output of the code shown below? l=[n for n in range(5)] f=lambda x:bool(x%2) print(f(3), f(1)) for i in range(len(l)): if f(l[i]): del l[i] print(i)

A. True True 1 2 Error
B. False False 1 2
C. True False 1 2 Error
D. False True 1 2
Answer» B. False False 1 2


Discussion

No Comment Found