window = turtle.Screen() my_turtle = turtle.Turtle() my_turtle.forward(100) window.mainloop() This example creates a simple window and moves a turtle forward. It's a basic introduction to the turtle graphics concept within Python.
We use cookies on our website to give you the most relevant experience by remembering your preferences and
repeat visits. By clicking “Accept”, you consent to the use of all cookies.