Skip to content

Instantly share code, notes, and snippets.

@showyou
Created May 2, 2010 04:09
Show Gist options
  • Select an option

  • Save showyou/386888 to your computer and use it in GitHub Desktop.

Select an option

Save showyou/386888 to your computer and use it in GitHub Desktop.
import sys;w=lambda x:sys.stdout.write(x); [i if (i % 3 != 0 or w("Fizz") or 1) and (i % 5 != 0 or w("Buzz") or 1) and (i%3==0 or i%5==0 or w(str(i)) or 1) and w("\n") else i for i in range(1,101)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment