def pyfunc(r):
for x in range(r):
print(' '*(r-x-1)+'*'*(2*x+1))
pyfunc(9)
*
***
*****
*******
*********
***********
*************
***************
*****************
发布者:admin,如若转载,请注明出处:https://ai1024.vip/36426.html