for i in range(1,6): for j in range(1,i): print("*",end="") print("")
5
* ** *** ****
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!