coding practice-9

sum of odd numbers from m to n


        m=int(input())

        n=int(input())

        t=0

        for i in range(m,n+1):

            if((i%2)!=0):

                t+=i

        print(t)        

Comments