# import package import turtle # loop for motion for i in range(3): turtle.circle(40) turtle.right(120) # exit from the screen # if and only if # mouse is clicked turtle.exitonclick()