【练习题】打印长方形

打印长方形

def prints_Rectangle():
    width = int(input("输入长度:"))
    hight = int(input("输入宽度:"))
    num_hight = 1
    while num_hight <= hight:
        num_width = 1
        while num_width <= 
            print("*",end="")
            num_width += 1
        print()
        num_hight += 1
原文地址:https://www.cnblogs.com/surenliu/p/12736571.html