Skip to content

Instantly share code, notes, and snippets.

@sorah
Forked from VoQn/gist:573114
Created September 10, 2010 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save sorah/573131 to your computer and use it in GitHub Desktop.
Save sorah/573131 to your computer and use it in GitHub Desktop.
100.times{|i|s=(i%3==0?"Fizz":'')+(i%5==0?"Buzz":'');puts s==""?i:s}
@VoQn
Copy link

VoQn commented Sep 10, 2010

nice

@sorah
Copy link
Author

sorah commented Sep 10, 2010

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