(Aug-19-2019, 07:05 AM)buran Wrote: on line 10 you call your function and initial value of k is 6oh that make sense to me, I thought tri_recursion(6) is the number times it will recur because I tried these steps, I changed 6 to 9 and the result is:
tri_recursion(6) #result has 6 lines
tri_recursion(9) #result has 9 lines