top of page
Subham Das

#16 Inverted Triangle with alphabets

n=int(input("Enter Number :"))


#Pattern 16 print('(16)') for i in range (n+1,1,-1) : for j in range (i,n+1) : print(end = " ") k = 1 for j in range (i,1,-1) : print(chr(96+k),end = "") k += 1 for j in range (i-1,1,-1) : print(chr(96+k),end = "") k+=1 print() print()



18 views0 comments

Recent Posts

See All

Comments


logo12.PNG
bottom of page