aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/examples/random_ips.v
blob: 59c4eff9cb88ed357c207981c4ed2f6d27335f81 (plain)
1
2
3
4
5
6
7
import rand

fn main() {
	for _ in 0 .. 10 {
		println('${rand.intn(255)}.${rand.intn(255)}.${rand.intn(255)}.${rand.intn(255)}')
	}
}