mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
9 lines
130 B
Kotlin
Vendored
9 lines
130 B
Kotlin
Vendored
// JVM_TARGET: 1.8
|
|
//WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val list = listOf("O", "K")
|
|
return list.fold("") {a, b -> a +b}
|
|
}
|
|
|