i=0
while i<5:
k=5
while k>i:
k-=1
print(" ",end="")
j = 0
while j <= i:
j += 1
print("*", end="")
l=1
while l<=i:
l+=1
print("*",end="")
i+=1
print()
等腰三角形
最新推荐文章于 2022-12-23 16:12:44 发布