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