i = 1
line = int(input('请输入边长'))
while i <= line:
print('*'*i)
i += 1
用*打印正三角形
猜你喜欢
转载自blog.csdn.net/yangkiri/article/details/85946827
今日推荐
周排行