x=int(input("Enter row number=")) for i in range(x): for j in range(i+1): print("#",end="") print("")