使用#号输出图形,可以指定宽和高

height = int(input("Height = :"))
width = int(input("Width = :"))

num_higth = 1
while num_higth <= height:
num_width = 1
while num_width <=
print("#",end="")
num_width = num_width + 1
print("")
num_higth = num_higth + 1
原文地址:https://www.cnblogs.com/xiaobinglife/p/9074242.html