def streams_average(streams):
    """
    get average stream distance from a stream list
    """
    count = 0
    sum = 0
    for i in streams:
        sum += i[1] - i[0]
        count += 1
    return sum/count