What Will Be The Output Of The Following Python Codep Pre #541
What will be the output of the following Python code?</p> <pre><code class="language-python">s1={1, 2, 3} s2={4, 5, 6} s1.isdisjoint(s2) s2.isdisjoint(s1)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Sets - Python Sets - Quiz No.6.
What will be the output of the following Python code?
s1={1, 2, 3} s2={4, 5, 6} s1.isdisjoint(s2) s2.isdisjoint(s1)
True False
False True
True True
False False