Subham DasJun 6, 20191 min read#11 Inverted equilateral triangle without space n=int(input("Enter Number :")) #Pattern 11 print('(11)') 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('*', end="") for j in range (i,2,-1) : print('*',end = "") print() print()
n=int(input("Enter Number :")) #Pattern 11 print('(11)') 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('*', end="") for j in range (i,2,-1) : print('*',end = "") print() print()
Kommentare