def pv(Rt, i, t=1):
    """Present value accounts for the current value of a future
    sum of money or stream of cash flows given a specified
    rate of return.

    Args:
        Rt: Return we get at time `t`
        i: Discount rate
        t: Time we get the return

    Returns:
        Present value

    Example:
        Here's a simple example of how you can calculate
        the present value of a given return and time period:

        >>> import malee
        >>> malee.pv(1030, 0.05, 1)
        980.952380952381
    """
    return Rt / ((1 + i) ** t)