Given a valid IPv4 address, return a defanged version where every period '.' is replaced with '[.]'.
Input: A quoted IPv4 address string.
Output: Quoted string — the defanged address.
Input: "1.1.1.1"
Output: "1[.]1[.]1[.]1"
Explanation: All periods replaced.Input: "255.100.50.0"
Output: "255[.]100[.]50[.]0"
Explanation: Defanged.Input: "0.0.0.0"
Output: "0[.]0[.]0[.]0"
Explanation: All zeros.valid IPv4 address