这个怎么写!!!
#金字塔的
for x in range(1,10):print(' '*(15-x),end='')n=xwhile n>=1:print(n,sep='',end='')n-=1n+=2while n<=x:print(n,sep='',end='')n+=1print()