Q. What is the output of {1, 2, 3} – {2}?
Solution:
The – operator performs set difference, removing 2, resulting in {1, 3}.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The – operator performs set difference, removing 2, resulting in {1, 3}.
Strengthen Your Practice with our comprehensive question bank.