/ Published in: Python
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import math radians = math.atan2(y2 - y1, x2 - x1) degrees = math.degrees(radians)
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
import math radians = math.atan2(y2 - y1, x2 - x1) degrees = math.degrees(radians)