Skip to main content

🎯 Predict the Print · 2026-06-19

What does this print?

Read the code. Type the expected output. One puzzle per day.

nums = [1, 2, 3]
nums.append(4)
nums.append(5)
print(len(nums))

Hint: list.append adds one element; len returns the count.

Like this format? Try 🕵️ Stack Trace Lineup — same daily-puzzle vibe for Python tracebacks. Both work without signup.

Want a real Python tutor for the bits these puzzles point at? Start lesson 1 — free, no signup →