The previous function it mentions is listed below:
def draw_shape_line(fillSize, fillChar, preSize=0, preChar='', leftChar='', rightChar='')
So if draw_shape_line(8, '*', preChar='A', preSize=3, leftChar='/', rightChar='\') is called the output is
AAA/********
Diamond Shape
You should implement the following functions to print a diamond shape.
print_diamond(size, priorChar, fillChar). This function will call the draw_shape_line function described above to print the shape. It will use the priorChar to print the area prior to the diamond and the fillChar to print the area inside the diamond. The shape will have a height and a width of the given size.
For example, when this function is called by print_diamond(10, '', 'T'), it should print the following shape:
****/
***/
TT
**/
TTTT
LLLLLL/
LLLLLLLL/
TTTTTTTT/
/LLLLLL
/LLLL*
***TT/
make_diamond. This function will prompt the user for entering the size, the edgeChar, and the fillChar. We limit the size to no more than 80 characters. The width of the diamond should be validated as no more than 20 characters and should also be even, or input should be taken again.