def sum_of_multiples():
    pass

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}))

Add intial solution