Tina is a little turtle that we can control with code. Press the Run button to see her move forward a little bit. She does this because the code tina.forward(50) tells her to!
import turtle
tina = turtle.Turtle()
tina.shape("turtle")
tina.forward(50)
We can also tell Tina to turn left and right:
import turtle
tina = turtle.Turtle()
tina.shape("turtle")
tina.forward(50)
tina.left(90)
tina.forward(50)
tina.left(90)
tina.forward(50)
This computer code that we’re writing tells her what to do. Can you change the code so that she goes forward for 100 steps instead of 50? Change the numbers in the code above to change her instructions.