Skip to content

Instantly share code, notes, and snippets.

@springcoil
Created April 9, 2014 14:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save springcoil/10273976 to your computer and use it in GitHub Desktop.
Save springcoil/10273976 to your computer and use it in GitHub Desktop.
Fizz Buzz in one line in python
for x in range(100): print x%3/2*'Fizz'+x%5/4*'Buzz' or x+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment