def net_income(ebt, tax):
    """
    Computes net income.

    Parameters
    ----------
    ebt : int or float
        Earnings before tax
    tax : int or float
        Tax expense

    Returns
    -------
    out : int or float
        Net income
    """
    return ebt - tax