#!usr/bin/python ### Project Euler problem 1 (estelendur) # Find the sum of all multiples of 3 or 5 under 1000 sum = 0 for i in range(1,1000): # assuming strictly less than 1000 if (i%3==0 or i%5==0): sum += i print sum