Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

radians in python turtle

import turtle
t = turtle.Turtle()

# Using Radians
t.radians() # 1 Radian = 180/ PI degrees

# Using Degrees
t.degrees() # 1 Degrees = PI /180 radians

t.leftturn(100) # This integer value will turn the turtle differently depending
# on if the turtle is using degrees() or radians()
Source by revisionmaths.com #
 
PREVIOUS NEXT
Tagged: #radians #python #turtle
ADD COMMENT
Topic
Name
2+7 =