Create sol5.py (#425)

added a solve for the problem
This commit is contained in:
alpylmz 2019-05-26 21:04:49 +03:00 committed by Anup Kumar Panwar
parent f56dd7f8e3
commit dd62f1b802

View File

@ -0,0 +1,8 @@
a=3
result=0
while a=<1000:
if(a%3==0 and a%5==0):
result+=a
elif(a%15==0):
result-=a
print(result)