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