Created
November 11, 2017 17:11
-
-
Save alvesoaj/5a718a99dab397cbb2f4fadaa855f44c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # 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