7 lines
123 B
Nim
7 lines
123 B
Nim
# -*- nim -*-
|
|
import random
|
|
proc randBool(): bool =
|
|
randomize()
|
|
result = rand(1).bool
|
|
for _ in 0..5:
|
|
echo randBool()
|