Skip to content
2 changes: 2 additions & 0 deletions maths/power_using_recursion.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

def power(base: int, exponent: int) -> float:
"""
Calculate the power of a base raised to an exponent.

>>> power(3, 4)
81
>>> power(2, 0)
Expand Down