Python 数字Number degrees() 方法 python Number tan() 方法 Python 数字Number radians() 方法 Python 数字Number degrees() 方法 #!/usr/bin/python import math print "degrees(3) : ", math.degrees(3) print "degrees(-3) : ", math.degrees(-3) print "degrees(0) : ", math.degrees(0) print "degrees(math.pi) : ", math.degrees(math.pi) print "degrees(math.pi/2) : ", math.degrees(math.pi/2) print "degrees(math.pi/4) : ", math.degrees(math.pi/4) python Number tan() 方法 Python 数字Number radians() 方法