2026-06-27 Β· BEGINNER Β· Five suspects. One is lying.
for i in range(0, 10, 0.5): print(i)
Traceback (most recent call last): File "lineup.py", line 1, in <module> for i in range(0, 10, 0.5): ~~~~~^^^^^^^^^^^^^ ValueError: range step must be positive integer, got 0.5
def square(x): return x * x result = list(map(square, [1, 2, 3])) print(result)
# (no error) [1, 4, 9]
s = "hello world" print(s.split(), s.split("o"))
# (no error) ['hello', 'world'] ['hell', ' w', 'rld']
x = 10 y = 3 print(x // y, x % y, x ** y)
# (no error) 3 1 1000
pair = (1, "hello") a, b = pair print(a, b)
# (no error) 1 hello
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 β