1、斜率x——>弧度h import math h=math.atan(x) 2、弧度h——>角度a import math a=math.degrees(h) 3、角度a——>弧度h import math h=math.radians(a)