keep_going = 'y'
while keep_going == 'y':
    num1 = int(input('enter the first number '))
    num2 = int(input('enter the second number '))
    sum = num1 + num2
    print('the sum is ', sum)
    keep_going = input('enter "y" to continue ')