mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
11 lines
173 B
V
11 lines
173 B
V
|
import rand
|
||
|
import time
|
||
|
|
||
|
fn main() {
|
||
|
rand.seed(time.now().uni)
|
||
|
|
||
|
for _ in 0..10 {
|
||
|
println('${rand.next(255)}.${rand.next(255)}.${rand.next(255)}.${rand.next(255)}')
|
||
|
}
|
||
|
}
|