中国人免费的片/网站seo优化建议
直接用replace函数就行了,水的一批
# -*- coding:utf-8 -*-
class Solution:# s 源字符串def replaceSpace(self, s):# write code herereturn s.replace(" ", "%20")
直接用replace函数就行了,水的一批
# -*- coding:utf-8 -*-
class Solution:# s 源字符串def replaceSpace(self, s):# write code herereturn s.replace(" ", "%20")