aboutsummaryrefslogblamecommitdiffstats
path: root/001.ex
blob: f3a014298f11625954a826cd8b7e227e754ade2e (plain) (tree)
1
                                                                            
IO.puts(Enum.sum(for x <- 0..1000, rem(x, 3) == 0 or rem(x, 5) == 0, do: x))
remember that computers suck.