用*打印平行四边形
程序员文章站
2022-03-02 10:57:12
...
line = int(input('输入数字'))
row = line
while l < line :
i = l
while i - 1 > 0:
print(' ', end = '')
i -= 1
r = row
while r > 0:
print('*', end = '')
r -= 1
print('')
l += 1