Computer Science, asked by deepthih80, 2 days ago

3. Write the description for the following Turtle functions: () Forward (ii) right() (Ill) stampo (iv) shape()​

Attachments:

Answers

Answered by anahitabhattac85
0

Answer:

Forward

forward() method is used to move the turtle forward by the value of the argument that it takes. It gives a line on moving to another position or direction. The argument it takes is distance { a number (integer or float) }. So, it moves the turtle forward by the specified distance, in the direction the turtle is headed.

Right

The turtle. right() method is used to change the direction of the turtle by the value of the argument that it takes. It gives the moving of the head of the turtle in a direction. The argument it takes is angle { a number (integer or float) }.

Stamp

stamp() This method is used to stamp a copy of the turtleshape onto the canvas and return its id. It doesn't require any argument. Whatever the shape of the turtle is, it is printed at that point and continues with the next instructions.

Shape

shape() This function is used to set the turtle shape to shape with a given name or, if the name is not given, return the name of the current shape. Initially, there are the following polygon shapes: “arrow”, “turtle”, “circle”, “square”, “triangle”, “classic”. ...

Hope this helps pls mark as brainliest

Similar questions