mirror of
https://github.com/correl/euler.git
synced 2024-12-18 03:00:12 +00:00
7 lines
110 B
Python
7 lines
110 B
Python
|
total = 0
|
||
|
for x in range(1000):
|
||
|
if (0 == x % 3) or (0 == x % 5):
|
||
|
total = total + x
|
||
|
|
||
|
print 'Answer', total
|