Which of the following Python code will print True?
a = foo(2)b = foo(3)print(a
a = foo(2)b = foo(3)print(a Which of the following Python code will print True?
a = foo(2)b = foo(3)print(a Correct Answer <pre><code class="python">class foo: def __init__(self, x): self.x = x def __lt__(self, other): if self.x </code></pre>
মোঃ আরিফুল ইসলাম
Feb 20, 2025