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
1>>> turtle.position()
2(0.00,240.00)
3>>> turtle.setx(10)
4>>> turtle.position()
5(10.00,240.00)
6