B 2.4.5 Worksheet 1 Python
Question 1 (a) The iterative method iter_d(n) is shown, which prints numbers to the console: (i) State the output printed by the call iter_d(4). [1] (ii) Construct the recursive method recur_d(n) that performs the same function. [3] Question 2 (a) The iterative method iter_e(s, n) is shown, which repeats a string: (i) State the value returned by the call iter_e("Go", 3). [1] (ii) Construct the recursive method...