Q.29

PHOTO EMBED

Sat Jan 08 2022 13:12:35 GMT+0000 (Coordinated Universal Time)

Saved by @di


"""
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)
content_copyCOPY

https://www.onlinegdb.com/online_python_compiler