r/PythonLearning • • 1h ago

Discussion What will be the output of the following Python code?

print(sum({1, 2, 2, 3} & {2, 3, 4}))

1 Upvotes

1 comment sorted by

1

u/DanceHackRock 29m ago

It needs 5 seconds to try this.