In this Python program, we will learn how to print the hollow box star(*) pattern.
Here is the source code of the program to print the hollow box star(*) pattern.
Enter the total Number of Rows: 5
Enter the total Number of Columns: 5
Hollow Box Star Pattern
* * * * *
* *
* *
* *
* * * * *
Enter the total Number of Rows: 6
Enter the total Number of Columns: 6
Hollow Box Star Pattern
* * * * * *
* *
* *
* *
* *
* * * * * *
Comments