Created
January 13, 2016 17:21
-
-
Save ivanoats/f9f193c65f92a67d5811 to your computer and use it in GitHub Desktop.
how to win at powerball
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
import System.Random | |
main = do | |
gen <- getStdGen | |
putStr $ show $ take 5 (randomRs (1,69) gen) | |
putStr $ show $ take 1 (randomRs (1,26) gen) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment