Python program to print the pattern of a diamond of stars

Write a program to print a diamond shape star pattern for a given number "N".

Note: N is always odd and there is no space between two stars.


Pattern for N = 5



Input format :
Total no. of rows "N"
Output format :
A pattern in N lines
Sample Input:
5
Sample Output:
 


Previous Post Next Post