mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 03:27:07 +00:00
Time: 34 ms (70.55%), Space: 13.9 MB (5.29%) - LeetHub
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class Solution:
|
||||
def defangIPaddr(self, address: str) -> str:
|
||||
return address.replace(".","[.]")
|
||||
Reference in New Issue
Block a user