简单类型 / 数字 / Integer

val value = (0..2).random()
//value is 0, 1 or 2     

println("value is $value")