Inserting a blank line

I am working with a word document. I have a json file from which my python code extracts information like images, captions, size etc. My code properly gets the images sequentially. But for some reason, it is not able to add a line after the image, write the caption for the respective image, add another line and then proceed to the next image.

@akashchrsmn Could you please provide you input, output and expected output documents along with simple code that will allow to reproduce the problem? We will check the issue and provide you more information.