Full Pyramid Program In Python To Convert