<prompt> Kuendeleza algorithm kwa kuongeza namba mbili pamoja  <response>: Heres an algorithm to add two numbers together:1. Start by defining a function add_numbers that takes two inputs, num1 and num2.pythondef add_numbersnum1, num2:2. Inside the function, add the two input numbers together and store the result in a variable sum.python sum num1 num23. Return the value of sum as the output of the function.python return sumThe complete algorithm would look like this:pythondef add_numbersnum1, num2: sum num1 num2 return sumTo use the function, you would call it with two numbers as arguments, like this:pythonresult add_numbers5, 10The variable result would then hold the value of the sum of the two input numbers, which in this case is 15. 