2026-06-15 Β· BEGINNER Β· Five suspects. One is lying.
nums = [1, 2, 3] result = nums.pop() print(nums, result)
# (no error) [1, 2] 3
def add(*args, **kwargs): print(args, kwargs) add(1, 2, x=3, y=4)
# (no error) (1, 2) {'x': 3, 'y': 4}
x = 100 y = 100 print(x is y)
<stdin>:3: RuntimeWarning: comparison of equal integers via 'is' is implementation-defined behavior True
from collections import Counter words = "the quick brown fox jumps over the lazy fox".split() print(Counter(words).most_common(2))
# (no error) [('the', 2), ('fox', 2)]
name = "Ada Lovelace" first, last = name.split() print(first, "|", last)
# (no error) Ada | Lovelace
The Stack Trace Lineup is a daily warm-up. The real curriculum is 1,300+ lessons of writing real code, not just spotting fakes. First 15 lessons free, no signup.
Tomorrow's lineup unlocks at 00:00 UTC. Past puzzles β