Question: In Python 3, write a function function() that draws the three letters (s, h ,f) as maritime letter flags (https://en.wikipedia.org/wiki/International_maritime_signal_flags) using turtle graphics. Each flag

In Python 3,

write a function "function()" that draws the three letters (s, h ,f) as maritime letter flags (https://en.wikipedia.org/wiki/International_maritime_signal_flags) using turtle graphics. Each flag is a square, draw a 1 pixel black border around each flag.

You will use randomization to vary how you draw your flags. The bottom left corner of the first flag is drawn at a random point in the rectilinear square bounded by (-200,-200) and (0,0). Each flag is of the same width w, which is chosen randomly in (100,200). The gap between consecutive flags should be a random number between 1 and 10.

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!