def get_positive_values(x):
    """Return a list of values v from x where v > 0."""

    result = []

    for _x in x:
        if _x > 0:
            result.append(_x)
        else:
            return result

    return result