1 22 333 4444 55555 N=5 for i in range(1,N+1): for k in range(N,i,-1): print("", end=" ") for j in range(1,i+1): print(i,end="") print()
To embed this project on your website, copy the following code and paste it into your website's HTML: