euler/001/001.py
Correl Roush 27734df4c4 Initial import
git-svn-id: file:///srv/svn/euler@1 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-30 15:01:13 +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