Question: Could you perform steps 2 9 - 3 1 ( adding eyes and altering the legs of the spider ) ? Hint 1 : Since
Could you perform steps adding eyes and altering the legs of the spider Hint : Since the legs need to be rendered on opposite sides of the body, you need to use two different heading calculations based on which legs you are rendering.Hint : In the while loop, if you are rendering the first four legs, use one heading calculation; on the other side, use another heading calculationHint : Assume the previous version of your program used the heading angleleg The two new headings should be similar to angleleg and angleleg Note that the exact value added or subtracted will depend on how much you have reduced the configuration variable angle. # abuggyimage.pyimport turtle as trtl# instead of a descriptive name of the turtle such as painter,# a less useful variable name x is usedspider trtlTurtlespiderpensizespidercirclespiderlegs leglength z spiderlegsspider.pensizecounter while counter spiderlegs: spider.goto spider.setheadingzcounter spider.forwardleglength counter counter while counter spiderlegs: spider.goto spider.setheadingzcounter spider.forwardleglength counter counter spider.hideturtlewn trtlScreenwnmainloop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
