Answer to Question #101428 in Python for alex

Question #101428
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("")
Question 1 Instructions
Use the code snippet above to write a program that uses looping to output the following shape:

FIRST
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
1
Expert's answer
2020-01-20T05:14:26-0500
for i in range(9):
    for j in range(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!

Comments

autumn
23.04.20, 00:23

In edhesive it said that answer was wrong any other possible ways to slove for that...very hard problem

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS