def times_interest_earned(ebit, interest_expense):
    """Computes the times interest earned ratio.

    Parameters
    ----------
    ebit : int or float
        Earnings before interest and taxes
    interest_expense : int or float
        Interest charges

    Returns
    -------
    out : int or float
        Times interest earned ratio
    """
    return ebit / interest_expense