← Back to archive

Stdle #44 · iteration · 2026-07-20

What does this Rust snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

fn main() {
let v: Vec<i32> =
(0..10).step_by(3).collect();
println!("{:?}", v);
}
Iteration
4 attempts left

Answer & explanation