def sum_of_multiples(limit, factors):
    return sum(filter(lambda n: n < limit,
                      {f*i for i in range(1, limit+1) for f in factors}))

@@ -128,10 +128,8 @@
 imit
-+1
 ) fo

Remove unnecessary on