Program to generate pyramid like patterns require certain amount of logical ability to use loops and spaces combinedly. To generate a below pattern, we have a created a program here.
This program is tested and executed using Atom IDE with Python 3.8 version.