Range

fun Range(    lower: Int = 0,     upper: Int = 100,     step: Int = 1)

Parameters

lower

the lower bound of the value; can be negative.

upper

the upper bound of the value; can be negative. But must be greater than lower.

step

defines an optional step size. Must be positive and lower than the difference of upper and lower