Topic: Language Problem / Level: advanced

Problem: Write a program to check if a string is a valid IP address (both IPv4 and IPv6).

Run the code to see the output here...