aboutsummaryrefslogtreecommitdiff
path: root/challenge-272/eric-cheung/python/ch-1.py
blob: 6ac6998ad484f3924ff3671b00f8e8dbf8b42bf9 (plain)
1
2
3
4
5
6
7
## strIP = "1.1.1.1"  ## Example 1
strIP = "255.101.1.0"  ## Example 2

strOutput = strIP.replace(".", "[.]")

print (strOutput)