Checkpoint 17.1.2.
Click the Run button to see what this code does. The drawing will happen below the code.
alex
the turtle what to do in the code above using dot notation: alex.forward(150)
, alex.left(90)
, and alex.forward(75)
. That is how you communicate with an object. You use the name of the turtle object followed by a .
and then the name of the method that you want to execute.screen
is not the same as Screen
. Also the open and close parentheses are required after every function and procedure call, even if it doesn't take any input.