Y = Mx + B Python

I'm new to python, have never written code before and I have this small assignment. Here it is

Write a program in which you input two points on the cartesian plane and the program will provide the equation for a straight line that passes through both points.

So basically I have to input the two points into the code and the outcome is the equation for a straight that passes through those two points.

You are viewing a single comment. View All

@ash15khng Thankyou!