Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

Y = Mx + B Python

AaronG1
AaronG1

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.

4 years ago

Voters

Comments

TopNew
1
nhn
nhn

Have a look at this repl:


@nhn
/equationLine

4 years ago
Load more