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