fun main() { // 1..3 includes 3; 0 until 3 stops before 3 for (i in 1..3) print(i) println() for (i in 0 until 3) print(i) println() }
1..n is inclusive, until excludes the end