Skip to content

Instantly share code, notes, and snippets.

@wolfhesse
Last active November 15, 2017 03:03
Show Gist options
  • Save wolfhesse/5279140 to your computer and use it in GitHub Desktop.
Save wolfhesse/5279140 to your computer and use it in GitHub Desktop.
rel:lang:rb dein naechster lottosechser quicktip
#
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!
@wolfhesse
Copy link
Author

AAB: irb;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment