import math
def deal(yaw):
if(yaw<):
print(-(abs(yaw)/math.pi)*)
print(math.degrees(yaw))
else:
print((abs(yaw)/math.pi)*)
print(math.degrees(yaw)) yaw=math.pi/
deal(yaw)
yaw=-math.pi/
deal(yaw)

输出

30.0
29.999999999999996
-60.0
-59.99999999999999
05-11 21:54