n=input()z=int(n)m=z-1h=1 for i in range(z): print(m * ' ', h * '*', m * ' ') m-=1 h+=2
5
* *** ***** ******* *********
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!