Header Ads

Header ADS

1131.Grenais in python

This is the solution of this problem in python:

X=int(input())
Y=int(input())
mult=1
for i in range(X,Y+1):
    if(i%13!=0):
        mult=mult+i
print(mult)

No comments

Powered by Blogger.