Skip to content

Instantly share code, notes, and snippets.

@FGtatsuro
Created January 14, 2012 02:47
Show Gist options
  • Save FGtatsuro/1610036 to your computer and use it in GitHub Desktop.
Save FGtatsuro/1610036 to your computer and use it in GitHub Desktop.
program 1 in Euler
reduce(lambda x, y: x+y, [i for i in range(1,1000) if i % 3 == 0 or i % 5 == 0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment