Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

python_shell / pythonworkspace

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • pythonworkspace
  • djcardrenewal
  • common
  • string
  • StringBuilder.py
  • 王欣伟's avatar
    首次提交脚本文件 · 0462a911
    王欣伟 committed Jul 20, 2023
    0462a911 Browse Files
StringBuilder.py 198 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9
class StringBuilder:
    def __init__(self):
        self.strings = []

    def append(self, string):
        self.strings.append(string)

    def __str__(self):
        return "".join(self.strings)