A function multiplies its argument by its own result for a number two smaller, and stops at one or less. def f(n): if n <= 1: return 1 return n * f(n - 2) print(f(5), f(6), f(1)) What is printed?
120 720 1
15 24 1
15 48 1
5 6 1
Log in to join the discussion.
Loading…