Live quiz

python-programing - Part 45

Question 1 of 25 Hints left: 3
Q1

Observe the following Python code? def a(n): if n == 0: return 0 else: return n*a(n - 1) def b(n, tot): if n == 0: return tot else: return b(n-2, tot-2)

  • A
  • B
  • C
  • D