Coding challenge

Write some code that will accept two points $(x_1,y_1)$ and $(x_2,y_2)$. Your code should use the "slope-intercept" form of the line, $y=mx+b$, to draw individual points, that follow a straight line between these points. Plot the line using pset(x,y).

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: