2023-03-07 Kotlin enumerated Kotlin val fruits = listOf("apple", "banana", "pear") fruits.forEachIndexed { index, fruit -> println(index) println(fruit) }