Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created May 6, 2011 17:26
Show Gist options
  • Save fitoria/959379 to your computer and use it in GitHub Desktop.
Save fitoria/959379 to your computer and use it in GitHub Desktop.
print ' '.join([(lambda x: str(x) if x % 5 != 0 and x % 3 != 0 else 'Buzz' if x % 5 == 0 else 'Fizz')(x) for x in range(1,100)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment