"""
29.Write a Python program to construct the following pattern, using a nested loop number
Expected Output:
1
22
333
4444
55555
666666
7777777
"""
for i in range(8):
    print(str(i) * i)