Question #107725

Use the code snippet provided below as the basis for your work on each question in Assignment 6. Note that you may need more than two for loops for shapes in some of the questions.


for i in range(3):

for j in range(3-i):

print("*", end=" ")

print("")


Use the code snippet above to write a program that uses looping to output the following shape:


FOURTH

* * * * * * * * * *

* * * * * * * * *

* * * * * * * *

* * * * * * *

* * * * * *

* * * * *

* * * *

* * *

* *

*

Expert's answer

for i in range(10):
    for j in range(10-i):
        print("*", end='')
    print("")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS