euler/001.py
Correl Roush 628861e107 Path reorganization
git-svn-id: file:///srv/svn/euler@17 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:52:57 +00:00

6 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