Power, recursively
Write power(base, exp) that returns base raised to exp, where exp
is a whole number zero or more. Use the fact that base ** exp is
base × base ** (exp - 1), and anything to the power 0 is 1.
power(2, 5) -> 32
power(3, 0) -> 1
power(5, 1) -> 5
The point is to practise recursion, so write it without a loop and without
**.
def power(base, exp):
...