class string_builder: def __init__(self) -> None: self.__content = list() def add(self, content: str) -> object: self.__content.append(content) return self def build(self) -> str: return str().join(self.__content)