Python#2 · 3 Dec 2026
Adding a list to a set
seen = set()
seen.add((1, 2))
seen.add((1, 2))
print(len(seen))
seen.add([3, 4])What does this print?
Daily Trap
A short JavaScript or Python snippet. Guess what it prints, then see why. Come back tomorrow to keep your streak.
seen = set()
seen.add((1, 2))
seen.add((1, 2))
print(len(seen))
seen.add([3, 4])What does this print?
Missed a day? Every past puzzle stays here.
Want more practice at your own pace? See the workbooks.