← Back to archive

Stdle #139 · iteration · 2026-10-23

What does this Rust snippet output?

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

fn main() {
let p: i32 = (1..=4).product();
println!("{}", p);
}
Iteration
4 attempts left

Answer & explanation