right
index
 
Name right ()
Description Turns the Turtle right an angle.
Syntax right (angle);
Parameters
angle   (float)
Returns None
Related left()
Example

    import Turtle.*;
    size(500,500);
    background(255);
    stroke(0);

    Turtle t = new Turtle(this);

    //draws a square
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);