def power(base: float, exponent: float = 2) -> float:
    """Return base to the power of exponent.

    Args:
        base (float): the base number
        exponent (float, optional): the exponent used. Defaults to 2

    Returns:
        float: the result of taking the base to the exponent
    """

    return base ** exponent