<filename>patterns/32.py
n=int(input(' number : '))
for i in range(n,0,-1):
    for j in range(i,n):
        print(' ',end=' ')
    for k in range(i):
        print(chr(64+i),end=' ')
    print()
<filename>patterns/32.py
n=int(input(' number : '))
for i in range(n,0,-1):
    for j in range(i,n):
        print(' ',end=' ')
    for k in range(i):
        print(chr(64+i),end=' ')
    print()