What will be the output of the following Python code?
['f', 't'][bool('spam')]
        ['f', 't'][bool('spam')]A. t
B. f
C. No output
D. Error
Answer: Option A
Related Questions on Bitwise and Boolean
['f', 't'][bool('spam')]A. t
B. f
C. No output
D. Error
Answer: Option A
Join The Discussion