Question: Write a function named triangle that uses the turtle graphics library to draw a triangle. The functions should take arguments for the X and Y
Write a function named triangle that uses the turtle graphics library to draw a triangle. The functions should take arguments for the X and Y coordinates of the triangle’s vertices, and the color with which the triangle should be filled. Demonstrate the function in a program.
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
The program that defines a function named drawtriangle using the turtle gr... View full answer
Get step-by-step solutions from verified subject matter experts
