alright, i can get the answer for only these numbers in the question. but i need it for another set since the program tests the code with multiple difference numbers. ive included both the screenshots. what am i missing??

alright i can get the answer for only these numbers in the question but i need it for another set since the program tests the code with multiple difference numb class=
alright i can get the answer for only these numbers in the question but i need it for another set since the program tests the code with multiple difference numb class=