Stdle #170 · comparisons · 2026-11-23
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let n = 4; let s = match n { 1 | 2 => "a", 3 | 4 | 5 => "b", _ => "c", }; println!("{}", s);}Comparisons