The problem:
Find the sum of all the multiples of 3 or 5 below 1000.
My solution was just to use the principle of inclusion/exclusion. No code necessary.
The problem:
Find the sum of all the multiples of 3 or 5 below 1000.
My solution was just to use the principle of inclusion/exclusion. No code necessary.