# function to find the sum of series

def sum1(a,b):
	sum=0
	for i in range(a,b+1) :
		sum+=i
	return sum

print("the sum of integers from 1 to 10 is ", sum1(1,10))
print("the sum of integers from 20 to 37 is ", sum1(20,37))
print("the sum of integers from 35 to 49 is ", sum1(35,49))


0668d2bf5bcaf886141a50f0bc1699b9bdf2102b
<mask token>

def sum1(a, b):
    sum = 0
    for i in range(a, b + 1):
        sum += i
    return sum


<mask token>

def sum1(a, b):
    sum = 0
    for i in range(a, b + 1):
        sum += i
    return sum


print('the sum of integers from 1 to 10 is ', sum1(1, 10))
print('the sum of integers from 20 to 37 is ', sum1(20, 37))
print('the sum of integers from 35 to 49 is ', sum1(35, 49))

# function to find the sum of series

def sum1(a,b):
	sum=0
	for i in range(a,b+1) :
		sum+=i
	return sum

print("the sum of integers from 1 to 10 is ", sum1(1,10))
print("the sum of integers from 20 to 37 is ", sum1(20,37))
print("the sum of integers from 35 to 49 is ", sum1(35,49))

