Vidyalelo
Python · Q59

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 59

Q59

What will be the output of the following Python code? class Truth: pass x=Truth() bool(x)

A.
pass
B.
true
Answer
C.
false
D.
error

Answer: Option B

Solution

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