kotlin when in range code example Example: kotlin ranges // Int range for (x in 1 .. 30) { println(x) }