Question
What is the output of the code shown below?class Truth: passx=Truth()bool(x)
Answer: Option B
Was this answer helpful ?
If the truth method is not defined, the object is considered true. Hence the output of the code shown above is true.
Was this answer helpful ?
Submit Solution