Skip to content

Instantly share code, notes, and snippets.

@sirpengi
Created July 6, 2012 00:31
Show Gist options
  • Save sirpengi/3057312 to your computer and use it in GitHub Desktop.
Save sirpengi/3057312 to your computer and use it in GitHub Desktop.
print "\n".join(map(lambda x:((str(x[0]) if x[1]%5 else '') if (x[0]%3) else 'fizz')+('' if (x[1]%5) else 'buzz'),zip(range(1,1001),range(1,1001))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment