This is the solution of this problem in python: X=int(input())Y=int(input())summ=0if(X>Y): X,Y=Y,X for i in range(X,Y+1): if(i%13!=0): summ=summ+ielse: for i in range(X,Y+1): if(i%13!=0): summ=summ+i print(summ)
No comments