Skip to content

Instantly share code, notes, and snippets.

@leegao
Created March 18, 2010 23:30
Show Gist options
  • Select an option

  • Save leegao/337051 to your computer and use it in GitHub Desktop.

Select an option

Save leegao/337051 to your computer and use it in GitHub Desktop.
print ", ".join([str(i) if i%3 and i%5 else "Fizz" if i%5 else "Buzz" if i%3 else "FizzBuzz" for i in range(1,101)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment