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