Question: Write a Python program to construct the following pattern, using a nested loop number (two levels of loop statements). Expected Output: 1 22 333 4444
Write a Python program to construct the following pattern, using a nested
loop number (two levels of loop statements).
Expected Output:
1 22 333 4444 55555 666666 7777777 88888888 999999999
Hint: to print a string without new line use: print('temp2', end='')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
