-
-
Save amankharwal/68a492285f2e707302200dda5e49f234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ip_address(address): | |
new_address = "" | |
split_address = address.split(".") | |
separator = "[.]" | |
new_address = separator.join(split_address) | |
return new_address | |
ipaddress = ip_address("1.1.2.3") | |
print(ipaddress) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment