1
0
exercises/fun/butt.rs

23 lines
767 B
Rust
Raw Normal View History

2024-07-03 16:29:11 -06:00
/*
* This work by Emma Tebibyte is marked with CC0 1.0
* <http://creativecommons.org/publicdomain/zero/1.0>
*/
// https://www.reddit.com/r/learnpython/comments/17pkw1h/why_wont_my_code_run/
2024-07-03 16:32:47 -06:00
fn main() -> Result<(), std::num::ParseIntError> {
2024-07-03 16:29:11 -06:00
let mut buf = String::new();
println!("How big is your butt?");
2024-07-03 16:32:08 -06:00
let _ = std::io::stdin().read_line(&mut buf);
2024-07-03 16:29:11 -06:00
2024-07-03 16:32:47 -06:00
println!("{}", match buf.trim().parse::<u8>()? {
0..=2 => "Your butt is small Im not gonna smack it ",
3 => "Your butt is decently sized, if im super horny ill smack and maybe lick it",
4 => "Your butt is pretty big there, Why don't you come down and ill show it a good time!",
2024-07-03 16:29:11 -06:00
_ => "WOW Your butt is pretty big! you better pull your pants down RIGHT NOW so i can lick it clean",
});
2024-07-03 16:32:47 -06:00
Ok(())
2024-07-03 16:29:11 -06:00
}