Question: USING PYHTON 11- write a function named capT that uses turtle graphics to draw a capital letter T of specific height , the function takes

USING PYHTON 11- write a function named capT that uses turtle graphics to draw a capital letter T of specific height , the function takes two parameters: turt( a turtle tha is used for drawing) and height( the height of the letter t ). The cross stroke of t should be half the lenght of the height stroke.. The T should be draw beggining at the initial position and orientation of turt. and should leave turt in the same position and orientation on exit.

11b- Write a function named tRow that uses turtle graphics and the function capT to draw a series of capital T's of increasing or decreasing size. the T's should all rest in a common baseline.(which is not drawn). the enclosing rectangle for each letter T should just be touch by not overlap the enclosing rectangle of the next T.( do not draw the enclosing rectangle). The function tRow should call capT repeatedly to draw the T's and it takes 4 parameters. 1-t (a turtle use for drawing) 2- num ( number of T's to draw) 3-init (the height of the first T and 4- ratio ( the ratio of the heights of successive T's).

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!