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