Back to questions

Fizz Buzz Sum Google Python Interview Question

Fizz Buzz Sum

Google Python Interview Question

Write a function to find the sum of all multiples of 3 or 5 below a target value.

For example, if the target value was 10, the multiples of 3 or 5 below 10 are 3, 5, 6, and 9.

Because 3+5+6+9=233 + 5 + 6 + 9 = 23, our function would return 23.

Input

(Python)

Output