Kotlin - Loops and Ranges
What will be the output of this Kotlin code?
repeat(3) { i -> println("Count: $i") }repeat(3) { i -> println("Count: $i") }i starts at 0 and goes to 2 for repeat(3).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions