v/examples/random_ips.v

9 lines
145 B
V
Raw Normal View History

2019-11-20 15:58:24 +01:00
import rand
import time
fn main() {
for _ in 0..10 {
2020-06-09 15:06:07 +02:00
println('${rand.intn(255)}.${rand.intn(255)}.${rand.intn(255)}.${rand.intn(255)}')
2019-11-20 15:58:24 +01:00
}
}