/ Published in: Python
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)