Question: Complete the following program. The program will draw a figure filled with red color whose vertices are (100,200),(50,100),(100,50), (100,100),(200,200),(100,200) using turtle graphics. import turtle turtle.Turtle()
Complete the following program. The program will draw a figure filled with red color whose vertices are (100,200),(50,100),(100,50), (100,100),(200,200),(100,200) using turtle graphics. import turtle turtle.Turtle() turtle.fillcolori turtle.begin_fill() turtle.penup() \#go to the first vertex \# put the pen down Hadvance to the next vertex \#next vertex \#next vertex \#next vertex \#next verex \#end the fill
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
