Yak Shaving

just me

Problem 1

without comments

#!/usr/bin/python

result = 0

for i in range (1, 1000):
	if i % 3 == 0 or i % 5 == 0:
		result += i 

print result

Written by channam

November 6th, 2008 at 12:44 am

Posted in code,project euler,python

Tagged with ,

Leave a Reply