-
-
Save parzibyte/349a51ca87046c8a4234148d6030a4ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Definir un arreglo con arrayOf | |
val nombres = arrayOf("Luis", "María José", "Fernando") | |
for (indice in nombres.indices){ | |
println("En el índice ${indice} tenemos a ${nombres[indice]}") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment