1import turtle # imports it
2whateverYouWantToCallIt = turtle.Turtle() # adds it to the project
3#code
4whateverYouWantToCallIt.forward(10) # moves whateverYouWantToCallIt forward
5whateverYouWantToCallIt.color("purple") # color
6whateverYouWantToCallIt.left(90) # turns him 90 degrees
7whateverYouWantToCallIt.right(90) # turns him 90 degrees the other direction
1import turtle # imports the turtle module.
2whateveruwanttocallit = turtle.Turtle()
3
4whateveruwanttocallit.fd(10) # moves forward by whatever you put in
5whateveruwanttocallit.lt(90) # turns left whatever degrees you put in
6whateveruwanttocallit.rt(90) # turns right whatever degrees you put in
7whateveruwanttocallit.color('red') # the color
8whateveruwanttocallit.up() # lifts the pen up
9whateveruwanttocallit.down() #puts the pen down
10#you can also import turtle as t to make the 'whateveruwanttocallit' just
11#written as t. you can also skip the turtle.Turtle() part.
12