In Kotlin you can use this syntax:
for (a in 1..10) print("$a ") // >>> 1 2 3 4 5 6 7 8 9 10
for (a in 10 downTo 1 step 2) print("$a ") // >>> 10 8 6 4 2
As for “why was the indexed loop removed” – scroll down for @yole’s answer.
For more info: Ranges & Loops