diff --git a/transform.py b/transform.py index b32615f..2c76ee9 100644 --- a/transform.py +++ b/transform.py @@ -62,14 +62,24 @@ def scale(value, domain_min, domain_max, range_min, range_max): def get_x_values(points): "Returns the first value for each point in points." + a, b, c = points + x_points =[] + for x, y in (points): + x_points.append(x) + + return(x_points) + + + + - for x, y in points: - return(x) - def get_y_values(points): "Returns the second value for each point in points." - for x, y in points: - return (y) - + a, b, c = points + y_points =[] + for x, y in (points): + y_points.append(y) + + return(y_points)