#  Program to print the Solid Half Diamond Number Pattern 
 row_size=int(input("Enter the row size:"))for out in range(row_size,-(row_size+1),-1):    for inn in range(row_size,abs(out)-1,-1):        print(inn,end="")    print("\r")