Log in to save your progress.
<< Back to problems
Note! The window is too narrow to use Pythonlab.dev. Use a device with a keyboard!

Multiples of 3 and 5

Prerequisites: Basic course part I

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000. Only print the sum.

This is an English translation of the first problem on Project Euler.

Login to save your progress and your code.

Create

The code has errors. It is up to you to fix.

-- Output from your program will be here --