Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2020-11-23 20:06:53 +01:00
parent fe3aaf4645
commit 0157e48d62
3 changed files with 241 additions and 0 deletions

12
4-lab/xclip Normal file
View File

@ -0,0 +1,12 @@
def randomNumber(k)
randomNumberArray=[]
randomNumberArray << 1
k= k - 1
while (k !=0 ) do
j = SecureRandom.random_number(2)
randomNumberArray << j
k = k - 1
end
return randomNumberArray.join
end