turtle documentation python 3.7 code example
Example: python turtle example
# Step 1: Make all the "turtle" commands available to us.
import turtle
# Step 2: Create a new turtle. We'll call it "bob"
bob = turtle.Turtle()
# Step 3: Move in the direction Bob's facing for 50 pixels
bob.forward(50)
# Step 4: We're done!
turtle.done()