Computer Science, asked by sonamrehan18781, 7 hours ago

how to make turtle move forward and turn right at 90 degrees

Answers

Answered by shivthina
0

Turtles can do more than go forward, turn left, and turn right.

Name

Input

Description

backward

amount

Moves the turle backward by the specified amount

color

colorname

Sets the color for drawing. Use ‘red’, ‘black’, etc

forward

amount

Moves the turtle forward by the specified amount

goto

x,y

Moves the turtle to position x,y

left

angle

Turns the turtle counter clockwise by the specified angle

pendown

None

Puts down the turtles tail so that it draws when it moves

penup

None

Picks up the turtles tail so that it doesn’t draw when it moves

pensize

width

Sets the width of the pen for drawing

right

angle

Turns the turtle clockwise by the specified angle

setheading

angle

Turns the turtle to face the given heading. East is 0, north is 90, west is 180, and south is 270.

Turtle

None

Creates and returns a new turtle object

Explanation:

Similar questions