kotlin iterate list with index code example
Example: kotlin iterate array
val names = listOf("Anne", "Peter", "Jeff")
for (name in names) {
println(name)
}
val names = listOf("Anne", "Peter", "Jeff")
for (name in names) {
println(name)
}