Question: An equilateral triangle is a triangle in which all three sides have the same length and all three internal angles are equal to each other
Do not make any assumptions about the initial up/down state of the turtle, its position on the screen or its orientation. The function triangle should begin drawing with the turtle at its initial position and orientation. The three sides of the equilateral triangle should be drawn using clockwise rotations in between. When triangle returns, the turtle should again be in its initial position and orientation.
For full credit, you must perform repeated operations using a loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
