i = 0
while i < 5:
# print('*****') 效果与下行相同
print('*'*5)
i+=1
print('\n\n')
i = 1
while i < 6:
print('*'*i)
i+=1
print('\n\n')
i = 1
while i < 6:
print('*'*(6-i))
i+=1
标签:python,打印,下行,while,print,图形
来源: https://www.cnblogs.com/FlyingLiao/p/11147998.html