devolver dos valores kotlin
fun main() {
val numbersMap = mapOf("one" to 1, "two" to 2, "three" to 3)
for ((key, value) in numbersMap) {
System.out.println("key :" + key)
System.out.println("value :" + value)
}
}
Smoggy Snail