Bulls and cows: Difference between revisions
→{{header|Kotlin}}
(→{{header|Kotlin}}: Update) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 4,181:
fun main() {
val num = ('1'..'9').shuffled().take(4).joinToString("")
println("All guesses should have exactly 4 distinct digits excluding zero.")
|