Skip to content

Instantly share code, notes, and snippets.

@zerokol

zerokol/megasena.rb

Created Nov 11, 2017
Embed
What would you like to do?
# rand generate 6 numbers in range of 1 to 60, and print ordered
(1..60).sort_by{ rand }[1..6].sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment