【剑指offer】替换空格【python】

# -*- coding:utf-8 -*- class Solution: # s 源字符串 def replaceSpace(self, s): # write code here spaceNum = 0 for c in s: if c == ' ': spaceNum
相关文章
相关标签/搜索