Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 195 Bytes

File metadata and controls

9 lines (9 loc) · 195 Bytes

rows=int(input("no of rows:")) k=2rows-2 for i in range(0,rows): for j in range(0,k): print(end=" ") k=k-2 for j in range(0,i+1): print(" ",end=" ") print(" ")