code: def encode(strs):
      
      res = ''
      for string in strs.split():
          res += str(len(string)) + ":" + string
      return res
docs: Encodes a list of strings to a single string.
      :type strs: List[str]
      :rtype: str