利用两个while相嵌套,输出由#组成的任意长宽矩形和三角形
height = int(input("Pleaes input the heigut:"))
width = int(input("Pleaes input the width:"))
num_height = height
num_width = width
while num_height >= 1:
num_width = width
while num_width >= 1:
print("#",end="")
num_width-=1
print()
num_height-=1