#Problem number 1 at https://projecteuler.net/problem=1# res=0 for i in range(1000): if i%3==0 or i%5==0: res=res+i print(res)