turtle.radians()
Set the angle measurement units to radians. Equivalent to degrees(2*math.pi)
.
>>> turtle.home() >>> turtle.left(90) >>> turtle.heading() 90.0 >>> turtle.radians() >>> turtle.heading() 1.5707963267948966
turtle.radians()
Set the angle measurement units to radians. Equivalent to degrees(2*math.pi)
.
>>> turtle.home() >>> turtle.left(90) >>> turtle.heading() 90.0 >>> turtle.radians() >>> turtle.heading() 1.5707963267948966
Please login to continue.