Question: I need help, My code needs to look like this picture right now my code is only printing the top half of it . I've

I need help, My code needs to look like this picture right now my code is only printing the top half of it. I've posted it below. # Part 3
# Get user input for n
n = int(input("Enter a positive integer (n): "))
# Print the pattern
for i in range(n,0,-1):
# Print decreasing sequence
for j in range(1, i +1):
print(2* j -1, end="")
# Print spaces
for _ in range(2*(n - i)):
print("", end="")
# Print increasing sequence
for j in range(i,0,-1):
print(2* j -1, end="")
# Move to the next line after each row
print()
 I need help, My code needs to look like this picture

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!