Question: Practice Problem Write a function drawEQTri to draw an equilateral triangle. It takes a tuple c representing the first vertex of the triangle, an integer

Practice Problem

Write a function drawEQTri to draw an equilateral triangle. It takes a tuple c representing the first vertex of the triangle, an integer a representing the orientation of the first edge of the triangle, and a length L representing the edge length of the triangle. it draws the equilateral triangle using forward, left, and a for loop.

Call it to draw a large yellow filled equilateral triangle in the third quadrant. note that the function draws an unfilled triangle.

Python 3, VSC, and Turtle Graphics

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!