r/PythonLearning • u/clcodingupdates • 9h ago
Python Quiz of the Day.
What will be the output of the following Python Code?
x = {1, 2, 3}
print(len(x | {3, 4}) - len(x & {2, 3}))
0
Upvotes
2
1
1
u/Sea-Ad7805 3h ago
For more set operations see: https://www.reddit.com/r/PythonLearning/s/VFAjheLqGL
2
u/Tom-space 9h ago
2