kotlin check an entry in loop 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)
}