← Back to archive

Stdle #105 · modern · 2026-09-19

What does this Rust snippet output?

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

fn main() {
let pi = 3.14159;
println!("{:.2}", pi);
}
Modern
4 attempts left

Answer & explanation