Created
May 2, 2017 18:12
-
-
Save HopperMCS/117ce800c8792d03a2c77b63a71811db to your computer and use it in GitHub Desktop.
null created by mgagemorgan - https://repl.it/HcOa/0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| (304, 270) | |
| (311, 380) | |
| (252, 326) | |
| Current slopes needed: | |
| (304, 270)(311, 380) -> Side 1 | |
| (311, 380)(252, 326) -> Side 2 | |
| (252, 326)(304, 270) -> Side 3 | |
| """ | |
| # Side 1 | |
| x1 = 304; | |
| x2 = 311; | |
| y1 = 270; | |
| y2 = 380; | |
| def slope(x1, y1, x2, y2): | |
| y = y2 - y1; | |
| x = x2 - x1; | |
| print "(" + str(x) + "," + str(y) + ")"; | |
| slope(x1, y1, x2, y2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment