I need to write a function which has 2 parameters height and width and outputs a rectangle of "#" ssmbol of the appropriate dimensions. so for 93, 4) should result in the output
####
####
####
but i dnt unserstand how to use the loop in this. I have only done loops once til nw and i tried using that code for this one but i get error everytime, probably coz the whole code is wrong. This is my first code i did using loop which is correct. But i cant seem to know how to do the second one?. I know the code i have done for the second one is not very much and probably wrong, If you guys could atleast provide me with a example it would do, if you think i am asking you to do the h/w for me thing..
word=raw_input("please enter the word for the song :")
repeat=input("how many times should the song be repeated? :")
lines=input("how many lines should the song be for? :")
for i in range(lines):
print word*repeat
def drawBlock(height, width):
x="#"
for i in range(drawBlock):
print x