0

hi basically i have to write a function which draws 4 rectangles next to eachother(consisting of spcaes then hashes then spaces then finally hashes, all of the same height). the rectangles final The rectangles common height,and the width of the four rectangles should be parameters, e.g.(3, 0, 5, 4, 2) will output.

##### ##

##### ##

##### ##

heres my current code. the drawBlockC function is the second part of the answer.

def drawBlock(height, width):

for i in range( height ):

print width * "# "

def drawLetterC():

drawBlock(1, 7)

drawBlock(1, 7)

drawBlock(1, 2)

drawBlock(1, 2)

drawBlock(1, 7)

drawBlock(1, 7)