← Back to archive

Stdle #12 · modern · 2026-06-18

What does this Rust snippet output?

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

fn main() {
let n = 7;
println!("[{:8.3}]", n as f64);
}
Modern
4 attempts left

Answer & explanation