def expected_value(win_loss_ratio, win_probability):
    """
    Calculates expected value of a bet.

    :return: Returns expected value.
    :rtype: Float
    """
    return win_loss_ratio * win_probability - (1 - win_probability)
