""" 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)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter