Files
kotlin/compiler/testData/codegen/controlStructures/ifBlock.kt
2013-01-24 21:12:27 +04:00

11 lines
215 B
Kotlin

import java.util.*
fun concat(l: List<String>): String? {
val sb = StringBuilder()
for(s in l) {
val x = if(l.size() > 1) { "T" } else { "F" };
sb.append(x)
}
return sb.toString()
}