Computer Science, asked by nehapatel145, 1 month ago

Write turtle commands to draw a diagram of square of length 50​

Answers

Answered by maheshsingha553
2

Answer:

REPEAT command

We have drawn a square using a REPEAT command. Now we will write it as a procedure.

...

Polygon Square

No. of Sides 4

Command REPEAT 4 [FD 50 RT 90]

Angle(RT) = 360/No.of Sides 360/4 = 90

Similar questions