8 lines
83 B
Python
8 lines
83 B
Python
n = 1435
|
|
|
|
s = 0
|
|
for i in range(n):
|
|
if i%3==0 or i%5==0:
|
|
s=s+i
|
|
print(s)
|