Python Pattern Program #30

Python Pattern Program #30 

Source Code:

#Follow @Programmerfect

n=int(input("Enter the number of rows: "))
for i in range(1,n+1):
    print("  "*(i-1),(str(n+1-i)+" ")*(n+1-i))  

Comments