发布时间:2019-06-30 16:53:12编辑:auto阅读(1513)
练习题来源:
https://projecteuler.net/archives
Problem 1:
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.
问题1:
在10(不包括10)以内的自然数中,能够被3或5整除的数字有3、5、6、9,他们的和是23.
请找出1000以内(不包括1000),能被3或者5整除的自然数的和。
上一篇: 回过头来看看python
下一篇: PYTHON--欧拉习题二
46489
44379
35829
33387
28083
24648
23572
18786
18047
16732
4555°
5112°
4642°
4783°
5446°
4409°
4461°
5009°
4901°
6149°