<prompt> Kuandika kazi ambayo inachukua integer mbili, m na n, na anarudi jumla ya idadi zote kati yao  <response>: Sure! Here is a function written in Python that takes two integers, m and n, and returns the sum of all the numbers between them:pythondef sum_betweenm, n: total 0 for number in rangem, n1: total number return totalThis function uses a for loop to iterate over the range of numbers between m and n, inclusive. For each number in that range, it adds the number to the running total, which is initially set to 0. Finally, after the loop has finished executing, the function returns the total sum. 