Created
September 7, 2013 21:46
-
-
Save virtualdogbert/6479612 to your computer and use it in GitHub Desktop.
This fizzbuzz example, is for my YouTube show SE GEEK: www.youtube.com/user/virtualdogbert
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
//Fizz Buzz in 62 characters vs http://rosettacode.org/wiki/FizzBuzz#Java | |
(1..100).each{println"${it%3?'':'Fizz'}${it%5?'':'Buzz'}"?:it} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment