kotlin ranges
snippet in kotlin

kotlin ranges

user1850

// Int range
    for (x in 1 .. 30) {
        println(x)
    }