A
Q. What will be the output of the following code snippet?
Code:
s1 = {1, 2, 3, 4, 5}
s2 = {2, 4, 6}
print(s1 ^ s2)
s2 = {2, 4, 6}
print(s1 ^ s2)
- Correct Answer - Option(B)
- Views: 28
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.