(self, i)
return self.short_str
:param i:
        :return: str
:param i:
        :return: str
: param i : : return : str
def shorten(self, i):
        """
        :param i:
        :return: str
        """
        self.short_str = ""
        encoded_list = self.encode(i)
        for val in encoded_list:
            self.short_str += self.base[val]
        return self.short_str
def shorten ( self , i ) : self . short_str = "" encoded_list = self . encode ( i ) for val in encoded_list : self . short_str += self . base [ val ] return self . short_str