#Python 2.7, 88 Bytes#
import math f = lambda A, B: math.degrees(math.atan2(B[1],B[0]) - math.atan2(A[1],A[0])) Test:
f((5,5),(5,-5)) #-90.0 f((5,-5),(5,5)) #90.0 #Python 2.7, 88 Bytes#
import math f = lambda A, B: math.degrees(math.atan2(B[1],B[0]) - math.atan2(A[1],A[0])) Test:
f((5,5),(5,-5)) #-90.0 f((5,-5),(5,5)) #90.0