first commit
This commit is contained in:
commit
e9354a7920
49 files changed
+1529
No files matched your search
@@ -0,0 +1,9 @@
|
||||
pub fn reply(guess: Int) -> String {
|
||||
case guess {
|
||||
i if i < 41 -> "Too low"
|
||||
i if i > 43 -> "Too high"
|
||||
41 | 43 -> "So close"
|
||||
42 -> "Correct"
|
||||
_ -> "WAT"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user