code: def add_caption(self, image, caption, colour=None):
          
  
          if colour is None:
              colour = "white"
      
          width, height = image.size
          draw = ImageDraw.Draw(image)
  
          draw.font = self.font
  
          draw.font = self.font
          draw.text((width // 10, height//20), caption,
                    fill=colour)
  
          return image
docs: Add a caption to the image