import kotlin.random.Random
fun main() {
// fun nextInt(from: Int, until: Int): Int
// Generates an Int random value between from (inclusive) and until (exclusive).
for (i in 1..25) {
val n = Random.nextInt(1, 10)
println(n)
}
}
/*
run:
9
7
6
9
6
1
2
8
2
1
7
4
8
7
4
2
1
9
3
3
7
7
6
8
3
*/