When answering these questions, remember that recursion is not simply ``repeating'' a task over and over. That could be done by a loop. A loop isn't recursion. Recursion is anything that is defined in terms of itself.
n= 1 , a= 6 n= 2 , a= 7.0 n= 3 , a= 7.5 n= 4 , a= 7.75 n= 5 , a= 7.875 n= 6 , a= 7.9375 n= 7 , a= 7.96875 n= 8 , a= 7.984375 n= 9 , a= 7.9921875 n= 10 , a= 7.99609375The function should not have any print statements inside it, nor a loop. The for loop that is written should be outside the function and call the function to get the results and print them.