How to print hollow rectagle / square using * | Print hollow patterns in python

How to print hollow rectagle / square using * | Print hollow patterns in python

In this video, i have taught how to print hollow pattern in rectangle and square pattern. I have explained diagrammatically how the code is working in excel sheet.