1import turtle
2satya = turtle.Turtle()
3maan = turtle.Turtle()
4#for my satya object
5satya.shape("turtle")
6satya.color('blue')
7distance = 100
8satya.forward(distance)
9#for my maan object
10maan.goto(10,200)
11
12
13screen = turtle.Screen()
14print(screen.canvheight)
15screen.exitonclick()
16
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