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