# define the top/bottom of the shape def top(): print ("#####") # define the next level of the shape def level1(): print ("# #") # define the next level of the shape def level2(): print (" # # ") # define the middle of the shape def middle(): print (" # ") # call the functions to draw the shape top() level1() level2() middle() level2() level1() top()