Para cada iteración del bucle se ejecutará uno por uno en kotlin

Ejemplos de código

1
0

bucle for en kotlin con índice de

collection.forEachIndexed { index, element ->
    // ...
}
0
0

kotlin repetir de 1 a 10

//iterating from one to ten Kotlin Example
for (i in 1..10) print(i)

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................