1# -*- nim -*- 2import random 3proc randBool(): bool = 4 randomize() 5 result = rand(1).bool 6for _ in 0..5: 7 echo randBool()
View as plain text