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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

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

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. (USING PYTHON)

24th Dec 2017, 5:16 AM
Anshuman Bharadwaj
Anshuman Bharadwaj - avatar
3 Answers
24th Dec 2017, 5:59 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 4
https://code.sololearn.com/cC5PA0YUqD8Z/?ref=app
24th Dec 2017, 8:15 AM
Mohammad Asif Abrar Sayim
Mohammad Asif Abrar Sayim - avatar
0
for javascript pls
22nd Jul 2019, 7:50 AM
janus