code: def boxed(msg, ch="=", pad=5):
      
      if pad > 0:
          msg = pad * ch + " " + msg.strip() + " " + pad * ch
  
      return "\n".join([len(msg) * ch,
                        msg,
                        len(msg) * ch,
                       ])
docs: Returns a string in a box
  
      Args:
          msg: Input string.
          ch: Character used to form the box.
          pad: Number of characters ch added before and after msg.
  
      >>> print(boxed("hello", ch="*", pad=2))
      ***********
      ** hello **
      ***********