标签:replace add code address etc ace ESS self class
class Solution: def defangIPaddr(self, address: str) -> str: add = address.replace(‘.‘,‘[.]‘) return add
标签:replace add code address etc ace ESS self class
原文地址:https://www.cnblogs.com/asenyang/p/11145979.html