#CODE
def ip_address(address):
new_address = ""
split_address = address.split(".")
separator = "[.]"
new_address = separator.join(split_address)
return new_address
IPad=input("Enter your IP address : ")
ipaddress = ip_address(IPad)
print(ipaddress)
#clcoding.com
Enter your IP address : 40.124.46.157 40[.]124[.]46[.]157
0 Comments:
Post a Comment