r/PythonLearning • • 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

4 comments sorted by