fork download
  1. # your code goes here
  2. n=5
  3. for i in range(1,n+1):
  4. for j in range(1,i+(i)+1):
  5. print("*",end="")
  6. print()
Success #stdin #stdout 0.07s 14044KB
stdin
Standard input is empty
stdout
**
****
******
********
**********