n = int(input("Enter a number of rows: "))
b=1
for i in range(1,n+1):
for j in range(1,2*i):
print(b,end="")
b+=1
print()
Comments
Post a Comment