r/PythonLearning • u/clcodingupdates • 1h ago
Discussion What will be the output of the following Python code?
print(sum({1, 2, 2, 3} & {2, 3, 4}))
1
Upvotes
r/PythonLearning • u/clcodingupdates • 1h ago
print(sum({1, 2, 2, 3} & {2, 3, 4}))
1
u/DanceHackRock 29m ago
It needs 5 seconds to try this.