Wake Up the Turtle ๐ข
Meet your turtle โ a little robot artist that draws wherever it walks! You give it commands, and it draws on the canvas:
import turtle # wake up the turtle!
turtle.forward(100) # walk forward 100 steps, drawing a line
turtle.left(90) # turn left 90 degrees (a quarter turn)
turtle.forward(50) # walk again!
The line import turtle at the top wakes the turtle up โ you need it
in every turtle program.
Your mission
Make the turtle draw at least 3 lines using forward() and turns
with left() or right(). Draw a zigzag, some stairs, whatever you
like โ just get the turtle moving! Watch the ๐จ Drawing tab.