mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 14:57:08 +00:00
3 lines
106 B
Python
3 lines
106 B
Python
class Solution:
|
|
def defangIPaddr(self, address: str) -> str:
|
|
return address.replace(".","[.]") |