turtle.done()

Read more of this post