left
index
 
Name left ()
Description Turns the turtle left by an angle.
Syntax left (angle);
Parameters
angle   (double)
Returns None
Related right()
Example


    Turtle t = new Turtle(this);

    //draws a square
    t.forward(100);
    t.left(90);    
    t.forward(100);
    t.left(90);    
    t.forward(100);
    t.left(90);    
    t.forward(100);
    t.left(90);
    t.drawPath(g);