kotlin simple for loop code example Example: kotlin simple for loop val names = listOf("Jack", "John", "Tim") for(name in names){ println(name) }