def encode(self, strs):
        """Encodes a list of strings to a single string.
        
        :type strs: List[str]
        :rtype: str
        """
        encoded_str = ""
        for s in strs:
            encoded_str += (8, len(s)) % "%0*x" + s
        return encoded_str
dataset/ETHPy150Open kamyu104/LeetCode/Python/encode-and-decode-strings.py/Codec.encode/swapped operands of `%`