Skip to content

Daily Trap

One small puzzle, every day

A short JavaScript or Python snippet. Guess what it prints, then see why. Come back tomorrow to keep your streak.

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?

Past traps

Missed a day? Every past puzzle stays here.

Want more practice at your own pace? See the workbooks.