Subham DasJun 6, 20191 min read#13 Inverted equilateral triangle n=int(input("Enter Number :")) #Pattern 13 print('(13)') for i in range (n+1,1,-1) : for j in range (0,n+1-i) : print(end = " ") for j in range (1,i) : print(chr(96+j), end="") for j in range (i,2,-1) : print(chr(96+j),end = "") print() print()
n=int(input("Enter Number :")) #Pattern 13 print('(13)') for i in range (n+1,1,-1) : for j in range (0,n+1-i) : print(end = " ") for j in range (1,i) : print(chr(96+j), end="") for j in range (i,2,-1) : print(chr(96+j),end = "") print() print()
Comments