kotlin for iterator loop code example Example: kotlin for loop val list = listOf("A", "B", "C") for (element in list) { println(element) }