Skip to content

Instantly share code, notes, and snippets.

@utgwkk
Created November 26, 2013 07:00
Show Gist options
  • Save utgwkk/7654403 to your computer and use it in GitHub Desktop.
Save utgwkk/7654403 to your computer and use it in GitHub Desktop.
fizzbuzz
for i in range(1,101): print [0,'Fizz','Buzz','FizzBuzz'][(i%3<1)+2*(i%5<1)] or i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment