Question: Write a python code that, using nested loops, and based on the input from the user, it prints the shapes shown below in the sample

Write a python code that, using nested loops, and based on the input from the user, it prints the shapes shown below in the sample run.
Note:* After generating the first shape, you need to apply small changes to first code to generate the remaining shapes. So you need 6 nested loops; one for each shape.
Enter number of rows in the table: 5
11111
22222
33333
44444
55555
12345
12345
12345
12345
12345
1
12
123
1234
12345
12345
2345
345
45
5
*
****
***
**
*
1*
2****
3***
4**
5*
#Your code for Exercise 3

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!