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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!