Subham DasJun 6, 20191 min read#8 Isosceles Triangle n=int(input("Enter Number :"))#Pattern 8 print('(08)') a = n//2 + 1 for i in range (1,a+1) : for j in range (1,i) : print ('*', end=" ") print()for i in range (a,1,-1) : for j in range (i-1,1,-1) : print('*', end=" ") print() print()
n=int(input("Enter Number :"))#Pattern 8 print('(08)') a = n//2 + 1 for i in range (1,a+1) : for j in range (1,i) : print ('*', end=" ") print()for i in range (a,1,-1) : for j in range (i-1,1,-1) : print('*', end=" ") print() print()
Comentários