← Back to archive

Stdle #143 · modern · 2026-10-27

What does this Rust snippet output?

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

fn main() {
let a = 1;
let b = 2;
println!("{0}{1}{0}{1}", a, b);
}
Modern
4 attempts left

Answer & explanation