Python Pattern Program #35 August 29, 2020 Get link Facebook Twitter Pinterest Email Other Apps Python Pattern Program #35Source Code:#Follow - Programmerfectn=int(input("Enter the number of rows: "))for i in range(1,n+1): print(" "*(n-i),(str(i)+" ")*(2*i-1)) Output: Comments
Comments
Post a Comment