Computer Science, asked by noorjahank771gmail, 3 months ago

4. Write the commands to draw Square and show the output?​

Answers

Answered by Abhinav014183
2

Answer:

 \huge  \bold  \fcolorbox{yellow}{red}{ \tt logo}

Draw a square as in the following picture:

For a square you will probably need a right angle, which is 90 degrees.

Solution

turtle.forward(50)

turtle.left(90)

turtle.forward(50)

turtle.left(90)

turtle.forward(50)

turtle.left(90)

turtle.forward(50)

turtle.left(90)

Attachments:
Similar questions