You are on page 1of 1

num=int(input("please enter the rows:= "))

i=1
while(i<=num):
j=1
while(j<=i):
j=j+j+1
print("*",end=" ")
i=i+1
print(" ")

You might also like