top of page
Subham Das

#10 Equilateral Triangle without space

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


#Pattern 10 print('(10)') for i in range (1,n+1) : for j in range (1,n-i+1) : print(end = " ") for j in range (i,0,-1) : print("*", end = "") for j in range (i,1,-1) : print("*", end = "") print() print()




6 views0 comments

Recent Posts

See All

תגובות


logo12.PNG
bottom of page