Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Fix the Union

This program tries to combine two sets, but uses the wrong operator. Fix it!

Expected output:

text
5

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python
a = {1, 2, 3}
b = {3, 4, 5}
combined = a + b
print(len(combined))