Skip to content

Instantly share code, notes, and snippets.

@ccw
Created March 26, 2012 04:03
Show Gist options
  • Save ccw/2202880 to your computer and use it in GitHub Desktop.
Save ccw/2202880 to your computer and use it in GitHub Desktop.
[Project Euler in CoffeeScript] - P1
(num += num if num % 3 == 0 || num % 5 == 0 for num in [1..1000])
alert num
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment