class Solution(object):
def defangIPaddr(self, address):
"""
:type address: str
:rtype: str
"""
return address.replace('.','[.]')
1108.IP地址无效化(python)
猜你喜欢
转载自blog.csdn.net/yuppie__1029/article/details/105729306
今日推荐
周排行