Python程序练习题5.1-输出更⼤的⽥字格。def drawsq(n):
line=3*n+1
for i in range(1,line+1):
if i%3 ==1:
print(n*"+----",end="")
print("+")
else:
print("|    "*n,end="")
print("|")
if __name__ == '__main__':
n=eval(input("请输⼊阶数:"))
记住我drawsq(n-1)