1.py 102 B

12345
  1. summation = 0
  2. for i in range(1000):
  3. if (i % 3 == 0) or (i % 5 == 0):
  4. summation += i
  5. print summation