import turtle t1 = turtle.Turtle() # create an instance of Turtle, assign it to tom t1.shape("turtle") # set turtle t1's shape. # Available shape: “arrow”, “turtle”, “circle”, “square”, “triangle”, “classic” wn = turtle.Screen() # create window for turtle t1 to draw wn.bgcolor("lightblue") # set background color of the window # Speed settings can be set # between 1 (slowest) to 10 (fastest). # But if we set the speed to 0, # it has a special meaning # — turn off animation and go as fast as possible. t1.speed(0) for i in range(50): t1.circle(i*3) # draw a circle with given radius t1.left(10) wn.mainloop() # wait for user to close the window