# Python Program to find Sum of Even and Odd Numbers from 12 to 37
minimum = int(input(" Please Enter the Minimum Value : "))
maximum = int(input(" Please Enter the Maximum Value : "))
even_total = 0
odd_total = 0
for number in range(minimum, maximum + 1):
if(number % 2 == 0):
even_total = even_total + number
else:
odd_total = odd_total + number
print("The Sum of Even Numbers from 12 to 37 = {1}".format(number, even_total))
print("The Sum of Odd Numbers from 12 to 37 = {1}".format(number, odd_total))
Study more about Python at Python Class 10