class Solution:
    def defangIPaddr(self, address: str) -> str:
        add = address.replace('.','[.]')
        return add

  

posted on 2019-07-07 12:41  Sempron2800+  阅读(195)  评论(0编辑  收藏  举报