[Solved]Acomplete Drawing Canvas Mainloop Drawstar0 Imput Parameter Star String Return Steps 1 1 G Q37282831
howdo i do this project in python 2.7
acomplete drawing the canvas mainloop() drawStar0 Imput Parameter: a star string No Return Steps 1 1. Get the pixel x y, and size values for the star using the functions you previously defined 2. Calculate the leftX, topY, nightX, bottomY coordinates for the rectangle (Hint: size 2) 3. Draw the rectangle using the code below canvas.create rectangle(leftx, topy, rightx, bottony, fill-white, width-e) Below are some example function calls that draw stars o drawStar( 0.0,0.0,00,1,-1.5,1″) o drawStar05,0.5,00,2202) drawAlIStarsO DOLL Show transcribed image text acomplete drawing the canvas mainloop() drawStar0 Imput Parameter: a star string No Return Steps 1 1. Get the pixel x y, and size values for the star using the functions you previously defined 2. Calculate the leftX, topY, nightX, bottomY coordinates for the rectangle (Hint: size 2) 3. Draw the rectangle using the code below canvas.create rectangle(leftx, topy, rightx, bottony, fill-white, width-e) Below are some example function calls that draw stars o drawStar( 0.0,0.0,00,1,-1.5,1″) o drawStar05,0.5,00,2202) drawAlIStarsO DOLL
Expert Answer
Answer to acomplete drawing the canvas mainloop() drawStar0 Imput Parameter: a star string No Return Steps 1 1. Get the pixel x y,… . . .
OR

