fun main() { // walk down from 10 to 1 in steps of 3 for (i in 10 downTo 1 step 3) print("$i ") println() }
count backwards or skip values