Code Forge
Pattern
~6 min

Trace the Bug

Reason about control flow.

A loop runs `for i in 0..4` and prints `i * 2`. How many lines print, and what is the last value?