Last active
November 15, 2017 03:03
-
-
Save wolfhesse/5279140 to your computer and use it in GitHub Desktop.
rel:lang:rb
dein naechster lottosechser quicktip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
a=nil; | |
while (a||=[]).length<6 do a << 1.upto(45).to_a.sample;a.uniq!; end; a | |
# | |
a=nil;while (a||=[]).length<6 do a << 1.upto(45).to_a.sample;a.uniq!; end; a | |
# | |
while (a||=[]).length<6 do a << 1.upto(45).to_a.sample;a.uniq!; end; a | |
# | |
a.sort! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AAB: irb;