<human>:  how to get domain part of a url in.
<bot>:

# Enter the url
url = 'http://www.google.com/'

# Calling the function
print((get_domain(url)))

#Example Output
# http:

#Remember to inspect code for bugs.