done until quiz1

This commit is contained in:
2026-07-10 13:25:51 +02:00
parent 8f249751ea
commit e84e3ac8cc
7 changed files with 26 additions and 6 deletions
+3 -1
View File
@@ -2,8 +2,10 @@
fn picky_eater(food: &str) -> &str {
if food == "strawberry" {
"Yummy!"
} else if food == "potato" {
"I guess I can eat that."
} else {
1
"No thanks!"
}
}