import math

x = 10.0             # Horizontal position
y = 10.0             # Vertical position

angle = math.atan(y/x)        

print((angle/math.pi)*180)

import math

x = 10.0             # Horizontal position
y = 10.0             # Vertical position

angle = math.atan(y/x)        

print((angle/math.pi)*180)

# Horizontal position # Vertical position